mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
18 lines
322 B
V
18 lines
322 B
V
module sgl
|
|
|
|
import sokol.memory
|
|
|
|
@[typedef]
|
|
pub struct C.sgl_allocator_t {
|
|
pub mut:
|
|
alloc_fn memory.FnAllocatorAlloc = unsafe { nil }
|
|
free_fn memory.FnAllocatorFree = unsafe { nil }
|
|
user_data voidptr
|
|
}
|
|
|
|
@[typedef]
|
|
pub struct C.sgl_logger_t {
|
|
pub mut:
|
|
func memory.FnLogCb = unsafe { nil }
|
|
user_data voidptr
|
|
}
|