Download HALCON Extension Package Programmer`s Manual
Transcript
3.2. MEMORY MANAGEMENT 41 Names HAllocLocal, HReallocLocal, HFreeLocal, HFreeAllLocal, HAllocRLLocal, HAllocRLNumLocal, HReallocRLNumLocal, HFreeRLLocal Synopsis #include "Halcon.h" Herror HAllocLocal( Hproc_handle proc_handle, size_t size, void **pointer) Herror HReallocLocal( Hproc_handle void size_t void Herror HFreeLocal( Hproc_handle proc_handle, void *pointer) Herror HFreeAllLocal( Hproc_handle proc_handle) Herror HAllocRLLocal( Hproc_handle proc_handle, Hrlregion **region) Herror HAllocRLNumLocal( Hproc_handle proc_handle, Hrlregion **region, size_t len) Herror HReallocRLNumLocal( Hproc_handle Hrlregion size_t Hrlregion Herror HFreeRLLocal( proc_handle, *pointer size, **new_pointer) proc_handle, *region len, **new_region) Hproc_handle proc_handle, Hrlregion *region) Figure 3.2: Temporary data on arbitrary heap positions. HALCON 6.0