mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
18 lines
262 B
V
18 lines
262 B
V
module gfx
|
|
|
|
import sokol.memory
|
|
|
|
[typedef]
|
|
pub struct C.sg_allocator {
|
|
pub mut:
|
|
alloc memory.FnAllocatorAlloc
|
|
free memory.FnAllocatorFree
|
|
user_data voidptr
|
|
}
|
|
|
|
[typedef]
|
|
pub struct C.sg_logger {
|
|
pub mut:
|
|
log_cb memory.FnLogCb
|
|
user_data voidptr
|
|
}
|