• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdint.h>
2 
3 typedef struct TestStruct {
4         uint8_t x;
5         int32_t y;
6 } TestStruct;
7 
8 typedef int callback(TestStruct s);
9 
call(callback * c)10 uint32_t call(callback *c) {
11         TestStruct s;
12         s.x = 'a';
13         s.y = 3;
14 
15         return c(s);
16 }
17