r6.1.1:lfds611_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

/liblfds611/src/lfds611_abstraction/lfds611_aligned_free.c
/liblfds611/inc/liblfds611.h

Prototype

void lfds611_abstraction_free( void *memory );

Parameters

void *memory

Pointer to memory previously allocated by lfds611_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.1 release.

Examples

The implementation of lfds611_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 lfds611_abstraction_free( void *memory )
   {
     free( memory );
 
     return;
   }
 
 #endif

See Also