Skip to content

sokol.memory #

fn salloc #

fn salloc(size usize, user_data voidptr) voidptr

salloc - used in the allocator structs, that the SOKOL libraries use, for allocating new memory blocks

fn sfree #

fn sfree(ptr voidptr, user_data voidptr)

sfree - used in the allocator structs, that the SOKOL libraries use, for freeing memory

fn slog #

fn slog(const_message &char, user_data voidptr)

type FnAllocatorAlloc #

type FnAllocatorAlloc = fn (size usize, user_data voidptr) voidptr

type FnAllocatorFree #

type FnAllocatorFree = fn (ptr voidptr, user_data voidptr)

type FnLogCb #

type FnLogCb = fn (const_message &char, user_data voidptr)