2012-11-20 13:58:15 +04:00
|
|
|
|
|
|
|
#include "sharedlib.h"
|
|
|
|
|
|
|
|
#ifndef SHAREDLIB_DEFINE
|
|
|
|
#error Expected SHAREDLIB_DEFINE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HEADERONLY_DEFINE
|
|
|
|
#error Unexpected HEADERONLY_DEFINE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DEFINE_IFACE_DEFINE
|
|
|
|
#error Expected DEFINE_IFACE_DEFINE
|
|
|
|
#endif
|
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
int main(int, char**)
|
2012-11-20 13:58:15 +04:00
|
|
|
{
|
|
|
|
SharedLibObject slo;
|
|
|
|
return slo.foo();
|
|
|
|
}
|