mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
19 lines
267 B
V
19 lines
267 B
V
|
module sapp
|
||
|
|
||
|
import sokol.memory
|
||
|
|
||
|
[typedef]
|
||
|
pub struct C.sapp_allocator {
|
||
|
pub mut:
|
||
|
alloc memory.FnAllocatorAlloc
|
||
|
free memory.FnAllocatorFree
|
||
|
user_data voidptr
|
||
|
}
|
||
|
|
||
|
[typedef]
|
||
|
pub struct C.sapp_logger {
|
||
|
pub mut:
|
||
|
log_cb memory.FnLogCb
|
||
|
user_data voidptr
|
||
|
}
|