![]()  | 
![]()  | 
![]()  | 
![]()  | 
A function exported by PhAB to allocate memory for the resource editor's copy of some data
char* alloc_mem ( int size )
This function is exported from PhAB in the PhABResExportCommon_t structure.
This function can be used by a resource editor to allocate memory for its copy of some data. This memory should be freed with the PhAB exported free_mem() function.
A pointer to the allocated memory, or NULL if an error occurred.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
free_mem()PhABResExportCommon_t
![]()  | 
![]()  | 
![]()  | 
![]()  |