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