Allocators

This sample demonstrates substituting custom memory allocation functions mem_alloc() and mem_free() for the standard C runtime heap management functions malloc() and free().

How to Run

See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the \target\bin directory:

 
    api_sql_01_c_api_allocators
     

But it is more instructive to run it in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics