mirror of
https://github.com/vlang/v.git
synced 2025-08-03 17:57:59 -04:00
19 lines
322 B
V
19 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
|
|
}
|