diff options
Diffstat (limited to 'src/example/example.h')
-rw-r--r-- | src/example/example.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/example/example.h b/src/example/example.h index 8e2874d..f99bdc5 100644 --- a/src/example/example.h +++ b/src/example/example.h @@ -6,20 +6,7 @@ #include "../extend/camera.h" #include "../gizmo/gizmo.h" -#define EXAMPLE(i)\ -extern void onload_##i(void*);\ -extern void onevent_##i(void*);\ -extern void onupdate_##i(void*);\ -extern void ondraw_##i(void*); - -#define CURRENT_EXAMPLE texture - -/*All examples*/ - -EXAMPLE(cube); -EXAMPLE(line); -EXAMPLE(dot); -EXAMPLE(texture); -EXAMPLE(bloom); +//https://social.msdn.microsoft.com/Forums/vstudio/en-US/65fd5b73-0fb4-40e0-81ec-92d67f9f48ad/how-to-get-function-address-from-current-process?forum=vcgeneral +#define EXAMPLE __declspec(dllexport) #endif
\ No newline at end of file |