add comment to the top of 'checkers.c'
[jack_interposer.git] / checker_fragment.c
blob2a3ee3ad4cbc5f0a9a1af480e2622b905079cb9d
1 $returntype $name($parameters)
3 static $returntype (*func)($parameters);
5 if (in_rt)
7 printf("$name() is called while in rt section\n");
8 #if ABORT_ON_VIOLATION
9 abort();
10 #endif
12 if(!func)
13 func = ($returntype (*)($parameters)) dlsym(RTLD_NEXT, "$name");
14 if(!func)
16 fprintf(stderr, "Error dlsym'ing $name\n");
17 abort();
19 return(func($parameternames));