diff options
Diffstat (limited to 'src/it/it0023-local-aol-properties/src/main')
-rw-r--r-- | src/it/it0023-local-aol-properties/src/main/c/HelloWorldLib.c | 9 | ||||
-rw-r--r-- | src/it/it0023-local-aol-properties/src/main/include/HelloWorldLib.h | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/it/it0023-local-aol-properties/src/main/c/HelloWorldLib.c b/src/it/it0023-local-aol-properties/src/main/c/HelloWorldLib.c new file mode 100644 index 0000000..8453004 --- /dev/null +++ b/src/it/it0023-local-aol-properties/src/main/c/HelloWorldLib.c @@ -0,0 +1,9 @@ +#include <stdio.h> +#include "HelloWorldLib.h" + +#ifdef LOCAL_AOL +char* HelloWorldLib_sayHello() { + return "Hello NAR LIB World!"; +} +#endif + diff --git a/src/it/it0023-local-aol-properties/src/main/include/HelloWorldLib.h b/src/it/it0023-local-aol-properties/src/main/include/HelloWorldLib.h new file mode 100644 index 0000000..e801bec --- /dev/null +++ b/src/it/it0023-local-aol-properties/src/main/include/HelloWorldLib.h @@ -0,0 +1,9 @@ +#ifndef HelloWorldLib_H +#define HelloWorldLib_H + +#ifdef WIN32 +__declspec(dllexport) +#endif +extern char* HelloWorldLib_sayHello(); + +#endif |