-
Notifications
You must be signed in to change notification settings - Fork 0
Bits
Taras Maliukh edited this page Apr 11, 2020
·
3 revisions
Set-up internal bits mask for each object in list(only in dll_new/dll_push*):
Available bits for dll_init:
- DLL_BIT_DFLT
- DLL_BIT_EIGN
- DLL_BIT_DFLT
- DLL_BIT_EIGN
- DLL_BIT_DUP
- DLL_BIT_FREE
- DLL_BIT_DFLT: default behavior
- DLL_BIT_EIGN: ignore errors, doesn't return NULL and doesn't setting-up a errno, if has specific NULL-pointer exceptions occurred if object pointing to NULL and etc.
- DLL_BIT_DUP: duplicating a 'void*' what passed in dll_new\dll_push* and free it when deleting. (!!! ITS NOT SAFE TO USE IT, allocate memory on your own. !!!)
- DLL_BIT_FREE: Freeing memory with free(3) what you put in the void *data at dll_new\dll_push