| 1 | module sapp |
| 2 | |
| 3 | import sokol.memory |
| 4 | |
| 5 | @[typedef] |
| 6 | pub struct C.sapp_allocator { |
| 7 | pub mut: |
| 8 | alloc_fn memory.FnAllocatorAlloc = unsafe { nil } |
| 9 | free_fn memory.FnAllocatorFree = unsafe { nil } |
| 10 | user_data voidptr |
| 11 | } |
| 12 | |
| 13 | @[typedef] |
| 14 | pub struct C.sapp_logger { |
| 15 | pub mut: |
| 16 | func memory.FnLogCb = unsafe { nil } |
| 17 | user_data voidptr |
| 18 | } |
| 19 |