mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
18 lines
319 B
V
18 lines
319 B
V
module sapp
|
|
|
|
import sokol.memory
|
|
|
|
[typedef]
|
|
pub struct C.sapp_allocator {
|
|
pub mut:
|
|
alloc memory.FnAllocatorAlloc = unsafe { nil }
|
|
free memory.FnAllocatorFree = unsafe { nil }
|
|
user_data voidptr
|
|
}
|
|
|
|
[typedef]
|
|
pub struct C.sapp_logger {
|
|
pub mut:
|
|
log_cb memory.FnLogCb = unsafe { nil }
|
|
user_data voidptr
|
|
}
|