mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
18 lines
316 B
V
18 lines
316 B
V
module gfx
|
|
|
|
import sokol.memory
|
|
|
|
@[typedef]
|
|
pub struct C.sg_allocator {
|
|
pub mut:
|
|
alloc_fn memory.FnAllocatorAlloc = unsafe { nil }
|
|
free_fn memory.FnAllocatorFree = unsafe { nil }
|
|
user_data voidptr
|
|
}
|
|
|
|
@[typedef]
|
|
pub struct C.sg_logger {
|
|
pub mut:
|
|
func memory.FnLogCb = unsafe { nil }
|
|
user_data voidptr
|
|
}
|