summaryrefslogtreecommitdiff
path: root/test/cbits/testhook.c
blob: 47a774acc5cda13896de0a37c2f4c0ad9b04031c (plain)
1
2
3
4
5
6
7
8
9
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;
}