raylib-beef/raylib-api/rmem.txt
2023-03-19 12:57:34 -04:00

206 lines
5.5 KiB
Text

Defines found: 3
Define 001: RMEM_H
Name: RMEM_H
Type: GUARD
Value:
Description:
Define 002: RMEMAPI
Name: RMEMAPI
Type: UNKNOWN
Value: __declspec(dllexport)
Description: We are building library as a Win32 shared library (.dll)
Define 003: RMEM_VERSION
Name: RMEM_VERSION
Type: STRING
Value: "v1.3"
Description: changelog at bottom of header.
Structures found: 6
Struct 01: MemNode (3 fields)
Name: MemNode
Description: Memory pool node
Field[1]: size_t size
Field[2]: MemNode * next
Field[3]: MemNode * prev
Struct 02: AllocList (3 fields)
Name: AllocList
Description: Freelist implementation
Field[1]: MemNode * head
Field[2]: MemNode * tail
Field[3]: size_t len
Struct 03: Arena (3 fields)
Name: Arena
Description: Arena allocator
Field[1]: uintptr_t mem
Field[2]: uintptr_t offs
Field[3]: size_t size
Struct 04: MemPool (3 fields)
Name: MemPool
Description: Memory pool
Field[1]: AllocList large
Field[2]: AllocList[MEMPOOL_BUCKET_SIZE] buckets
Field[3]: Arena arena
Struct 05: ObjPool (5 fields)
Name: ObjPool
Description: Object pool
Field[1]: uintptr_t mem
Field[2]: uintptr_t offs
Field[3]: size_t objSize
Field[4]: size_t freeBlocks
Field[5]: size_t memSize
Struct 06: BiStack (4 fields)
Name: BiStack
Description: Double-ended stack (aka Deque)
Field[1]: uintptr_t mem
Field[2]: uintptr_t front
Field[3]: uintptr_t back
Field[4]: size_t size
Aliases found: 0
Enums found: 0
Callbacks found: 0
Functions found: 24
Function 001: CreateMemPool() (1 input parameters)
Name: CreateMemPool
Return type: MemPool
Description:
Param[1]: bytes (type: size_t)
Function 002: CreateMemPoolFromBuffer() (2 input parameters)
Name: CreateMemPoolFromBuffer
Return type: MemPool
Description:
Param[1]: buf (type: void *)
Param[2]: bytes (type: size_t)
Function 003: DestroyMemPool() (1 input parameters)
Name: DestroyMemPool
Return type: void
Description:
Param[1]: mempool (type: MemPool *)
Function 004: MemPoolAlloc() (2 input parameters)
Name: MemPoolAlloc
Return type: void *
Description:
Param[1]: mempool (type: MemPool *)
Param[2]: bytes (type: size_t)
Function 005: MemPoolRealloc() (3 input parameters)
Name: MemPoolRealloc
Return type: void *
Description:
Param[1]: mempool (type: MemPool *)
Param[2]: ptr (type: void *)
Param[3]: bytes (type: size_t)
Function 006: MemPoolFree() (2 input parameters)
Name: MemPoolFree
Return type: void
Description:
Param[1]: mempool (type: MemPool *)
Param[2]: ptr (type: void *)
Function 007: MemPoolCleanUp() (2 input parameters)
Name: MemPoolCleanUp
Return type: void
Description:
Param[1]: mempool (type: MemPool *)
Param[2]: ptrref (type: void **)
Function 008: MemPoolReset() (1 input parameters)
Name: MemPoolReset
Return type: void
Description:
Param[1]: mempool (type: MemPool *)
Function 009: GetMemPoolFreeMemory() (1 input parameters)
Name: GetMemPoolFreeMemory
Return type: size_t
Description:
Param[1]: mempool (type: const MemPool)
Function 010: CreateObjPool() (2 input parameters)
Name: CreateObjPool
Return type: ObjPool
Description:
Param[1]: objsize (type: size_t)
Param[2]: len (type: size_t)
Function 011: CreateObjPoolFromBuffer() (3 input parameters)
Name: CreateObjPoolFromBuffer
Return type: ObjPool
Description:
Param[1]: buf (type: void *)
Param[2]: objsize (type: size_t)
Param[3]: len (type: size_t)
Function 012: DestroyObjPool() (1 input parameters)
Name: DestroyObjPool
Return type: void
Description:
Param[1]: objpool (type: ObjPool *)
Function 013: ObjPoolAlloc() (1 input parameters)
Name: ObjPoolAlloc
Return type: void *
Description:
Param[1]: objpool (type: ObjPool *)
Function 014: ObjPoolFree() (2 input parameters)
Name: ObjPoolFree
Return type: void
Description:
Param[1]: objpool (type: ObjPool *)
Param[2]: ptr (type: void *)
Function 015: ObjPoolCleanUp() (2 input parameters)
Name: ObjPoolCleanUp
Return type: void
Description:
Param[1]: objpool (type: ObjPool *)
Param[2]: ptrref (type: void **)
Function 016: CreateBiStack() (1 input parameters)
Name: CreateBiStack
Return type: BiStack
Description:
Param[1]: len (type: size_t)
Function 017: CreateBiStackFromBuffer() (2 input parameters)
Name: CreateBiStackFromBuffer
Return type: BiStack
Description:
Param[1]: buf (type: void *)
Param[2]: len (type: size_t)
Function 018: DestroyBiStack() (1 input parameters)
Name: DestroyBiStack
Return type: void
Description:
Param[1]: destack (type: BiStack *)
Function 019: BiStackAllocFront() (2 input parameters)
Name: BiStackAllocFront
Return type: void *
Description:
Param[1]: destack (type: BiStack *)
Param[2]: len (type: size_t)
Function 020: BiStackAllocBack() (2 input parameters)
Name: BiStackAllocBack
Return type: void *
Description:
Param[1]: destack (type: BiStack *)
Param[2]: len (type: size_t)
Function 021: BiStackResetFront() (1 input parameters)
Name: BiStackResetFront
Return type: void
Description:
Param[1]: destack (type: BiStack *)
Function 022: BiStackResetBack() (1 input parameters)
Name: BiStackResetBack
Return type: void
Description:
Param[1]: destack (type: BiStack *)
Function 023: BiStackResetAll() (1 input parameters)
Name: BiStackResetAll
Return type: void
Description:
Param[1]: destack (type: BiStack *)
Function 024: BiStackMargins() (1 input parameters)
Name: BiStackMargins
Return type: intptr_t
Description:
Param[1]: destack (type: BiStack)