ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Functions

FineAllocMemory Function

This function allocates memory. If during library initialization you specified a custom function for memory allocation, that function will be used.

C Syntax
TFineErrorCode FineAllocMemory( 
  int    size,
  void** ptr
);

Parameters

size
[in] The size of memory buffer that needs to be allocated.
ptr
[out] A pointer to allocated memory.

Return value

The function returns the standard return values of ABBYY Mobile OCR Engine functions.

See also

FineFreeMemory
FineInitialize