r6.1.0:lfds610_abstraction_free

From liblfds.org
Revision as of 14:07, 4 January 2015 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files

/liblfds610/src/lfds610_abstraction/lfds610_aligned_free.c
/liblfds610/inc/liblfds610.h

Prototype

void lfds610_abstraction_free( void *memory );

Parameters

void *memory

Pointer to memory previously allocated by lfds610_abstraction_malloc.

Return Value

No return value.

Notes

This function is never knowingly passed a NULL pointer and it should assert if this occurs. Checking for this has not been done in the 6.1.0 release.

Examples

The implementation of lfds610_abstraction_free on every platform except Windows kernel looks like this;

 #if (!defined WIN_KERNEL_BUILD)
 
   /* TRD : any OS except Windows kernel on any CPU with any compiler
 
            !WIN_KERNEL_BUILD  indicates not Windows kernel
   */
 
   void lfds610_abstraction_free( void *memory )
   {
     free( memory );
 
     return;
   }
 
 #endif

See Also