diff options
Diffstat (limited to 'Tests/Plugin/src/example_mod_1.c')
-rw-r--r-- | Tests/Plugin/src/example_mod_1.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/Plugin/src/example_mod_1.c b/Tests/Plugin/src/example_mod_1.c new file mode 100644 index 0000000..f96ba29 --- /dev/null +++ b/Tests/Plugin/src/example_mod_1.c @@ -0,0 +1,16 @@ +#include <example.h> + +#include <stdio.h> + +#if defined(_WIN32) +# define MODULE_EXPORT __declspec(dllexport) +#else +# define MODULE_EXPORT +#endif + +MODULE_EXPORT int example_mod_1_function() +{ + int result = example_exe_function() + 456; + printf("world\n"); + return result; +} |