mirror of
https://github.com/AntonioND/nitro-engine.git
synced 2025-06-18 16:45:33 -04:00
library: Add comment
This commit is contained in:
parent
1caee47b6f
commit
4ec6488068
@ -42,6 +42,11 @@ void *NE_Alloc(NEChunk *first_element, size_t size);
|
||||
// Returns 0 on success. On error, it returns a negative number.
|
||||
int NE_Free(NEChunk *first_element, void *pointer);
|
||||
|
||||
// Only an allocated chunk of memory can be locked. After it is locked, it stops
|
||||
// counting towards the total memory reported by NE_MemGetInformation(). When it
|
||||
// is unlocked, it is considered to still be allocated, and it needs to be freed
|
||||
// manually.
|
||||
//
|
||||
// They return 0 on success. On error, they returns a negative number.
|
||||
int NE_Lock(NEChunk *first_element, void *pointer);
|
||||
int NE_Unlock(NEChunk *first_element, void *pointer);
|
||||
|
Loading…
Reference in New Issue
Block a user