|
OSAPI
0.29
Open System API
|
10 #ifndef OSAPI_COMMON_TYPES_MEMORY_H_
11 #define OSAPI_COMMON_TYPES_MEMORY_H_
20 #include "general/general_types.h"
void * data
Allocated HEAP memory location.
Definition: common_types_memory.h:36
uint8_t Byte
Definition of a Byte type.
Definition: general_types.h:58
Byte canary
A MAGIC constant to indicate if the data pointer is really pointing to a previously allocated memory.
Definition: common_types_memory.h:34
uint64_t t_size
Definition of OSAPI size type.
Definition: general_types.h:52
Definition: common_types_memory.h:31
t_size capacity
The memory allocated capacity.
Definition: common_types_memory.h:33
Byte type
The type of memory that was initially requested. A value of 0 means that memory can grow (malloc).
Definition: common_types_memory.h:35