mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
thirdparty: update all sokol and fontstash headers with their upstream versions (#16940)
This commit is contained in:
18
vlib/sokol/sgl/sgl_allocator_and_logger.c.v
Normal file
18
vlib/sokol/sgl/sgl_allocator_and_logger.c.v
Normal file
@ -0,0 +1,18 @@
|
||||
module sgl
|
||||
|
||||
import sokol.memory
|
||||
|
||||
[typedef]
|
||||
pub struct C.sgl_allocator_t {
|
||||
pub mut:
|
||||
alloc memory.FnAllocatorAlloc
|
||||
free memory.FnAllocatorFree
|
||||
user_data voidptr
|
||||
}
|
||||
|
||||
[typedef]
|
||||
pub struct C.sgl_logger_t {
|
||||
pub mut:
|
||||
log_cb memory.FnLogCb
|
||||
user_data voidptr
|
||||
}
|
Reference in New Issue
Block a user