
########################
A3DDllSetCallbacksMemory
########################

.. c:function:: A3DStatus A3DDllSetCallbacksMemory(A3DCallbackMemoryAlloc, A3DCallbackMemoryFree)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DDllSetCallbacksMemory(:c:type:`~A3DCallbackMemoryAlloc` ****\ , :c:type:`~A3DCallbackMemoryFree` ****\ )
   
   Specifies custom memory-allocation functions This function specifies callback functions the library uses for memory allocation and and deallocation. 
   
   If this function is not called, the standard ``malloc`` and ``free`` functions are used for memory allocation and deallocation.
   
   
      2.0
   
   
   
   Sample code
   ===========
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




