File: test4.c

package info (click to toggle)
tom 1.1.1-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,340 kB
  • ctags: 2,244
  • sloc: objc: 27,863; ansic: 9,804; sh: 7,411; yacc: 3,377; lex: 966; asm: 208; makefile: 62; cpp: 10
file content (15 lines) | stat: -rw-r--r-- 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
int printf (char *fmt, ...);

void foo (void *args, void (*f) ())
{
  void *r = __builtin_apply (f, args,  0);
  printf ("hallo");
  __builtin_return (r);
}

void foo2 (void *args, void (*f) ())
{
  void *r = __builtin_apply (f, args,  12345);
  printf ("hallo");
  __builtin_return (r);
}