caller.c 202 B

123456789101112
  1. #include <stdio.h>
  2. // C func caller test
  3. char *call(void *ptr,int a, int b) {
  4. // Bridge
  5. char *(*fnptr)(int,int) = ptr;
  6. return fnptr(a,b);
  7. }
  8. char *testLocal() {
  9. return "This is a static string";
  10. }