fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1#include <stdint.h> 2 3typedef struct TestStruct { 4 uint8_t x; 5 int32_t y; 6} TestStruct; 7 8typedef int callback(TestStruct s); 9 10uint32_t call(callback *c) { 11 TestStruct s; 12 s.x = 'a'; 13 s.y = 3; 14 15 return c(s); 16}