2 /* This test file is intended to be compiled into a DLL. */
17 struct treenode
* libsrl_mktree(int i
)
19 struct treenode
* r
= GC_MALLOC(sizeof(struct treenode
));
21 if (1 == i
) r
= GC_MALLOC_ATOMIC(sizeof(struct treenode
));
23 r
-> x
= libsrl_mktree(i
-1);
24 r
-> y
= libsrl_mktree(i
-1);
29 void * libsrl_init(void)
32 return GC_MALLOC(sizeof(struct treenode
));