diff options
Diffstat (limited to 'test/cbits')
-rw-r--r-- | test/cbits/testhook.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/cbits/testhook.c b/test/cbits/testhook.c new file mode 100644 index 0000000..47a774a --- /dev/null +++ b/test/cbits/testhook.c @@ -0,0 +1,10 @@ +#include "Rts.h" +#include <stdio.h> + +static void my_delegate_function(const struct GCDetails_ *d) { + printf("Yup test delegate hook worked\n"); +} + +void* get_my_delegate_ptr(void) { + return my_delegate_function; +} |