1#if !defined(ae2f_ds_Alloc_h)
53#define _ae2f_ds_Alloc_FndFun(This, Name) ae2f_Macro_Cmp_TakeMem(ae2f_Macro_Cmp_TakeMem(This, v, 0), Name, 0)
65#define _ae2f_ds_Alloc_Call(This, Name, ...) (_ae2f_ds_Alloc_FndFun(This, Name) ? _ae2f_ds_Alloc_FndFun(This, Name)(This, __VA_ARGS__) : ae2f_errGlob_IMP_NOT_FOUND)
76#define _ae2f_ds_Alloc_CallVoid(This, Name) (_ae2f_ds_Alloc_FndFun(This, Name) ? _ae2f_ds_Alloc_FndFun(This, Name)(This) : ae2f_errGlob_IMP_NOT_FOUND)
ae2f_SHAREDCALL ae2f_extern const ae2f_struct ae2f_ds_vAlloc ae2f_ds_vAlloc_cLinear
Each elements will be physically linear.
Definition Alloc.h:30
#define ae2f_SHAREDCALL
Definition Call.h:58
#define ae2f_struct
In C, keyword 'struct' must be written in front of the structure's name in order to use as a type nam...
Definition Cast.h:81
#define ae2f_extern
Suggests the existence of external variable or function, in naming of C. [non-mangling].
Definition Cast.h:85
ae2f_errint_t(* ae2f_ds_Alloc_fpDel_t)(ae2f_struct ae2f_ds_Alloc_cOwn *_this)
Frees the memory of _this.
Definition Own.h:20
ae2f_errint_t(* ae2f_ds_Alloc_fpReConfig_t)(ae2f_struct ae2f_ds_Alloc_cOwn *_this, size_t elcount, size_t elsize)
Resizes the memory of _this. Additional memories(newly allocated) must be initiated as 0.
Definition Own.h:35
ae2f_errint_t(* ae2f_ds_Alloc_fpRead_t)(const ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t Index, void *lpBuff, size_t Buff_size)
Gets data from a class.
Definition Ref.h:43
ae2f_errint_t(* ae2f_ds_Alloc_fpWrite_t)(ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t Index, const void *lpBuff, size_t Buff_size)
Sets data to a class.
Definition Ref.h:62
ae2f_errint_t(* ae2f_ds_Alloc_fpLen_t)(const ae2f_struct ae2f_ds_Alloc_cRef *_this, size_t *pSize, size_t *pel)
Gets the length, and element size of the class.
Definition Ref.h:26
The data holder for [cRef] and [cOwn].
Definition Alloc.h:39
char * data
Where data is hold.
Definition Alloc.h:41
const ae2f_struct ae2f_ds_vAlloc * v
The implementations.
Definition Alloc.h:43
Structure for virtual function pointer.
Definition Alloc.h:20
const ae2f_ds_Alloc_fpLen_t GetSize
Definition Alloc.h:21
const ae2f_ds_Alloc_fpWrite_t Write
Definition Alloc.h:23
const ae2f_ds_Alloc_fpRead_t Read
Definition Alloc.h:22
const ae2f_ds_Alloc_fpDel_t Del
Definition Alloc.h:24
const ae2f_ds_Alloc_fpReConfig_t ReConfig
Definition Alloc.h:25