CCoreModule
The CCoreModule
class defines general functions in the core module.
Definition
Namespace: dynamsoft::basic_structures
Assembly: DynamsoftCore
class CCoreModule
Methods Summary
Method | Description |
---|---|
GetVersion | Returns the version of the core module. |
AllocateBytes | Allocates a block of memory. |
FreeBytes | Frees a block of memory. |
GetVersion
Returns the version of the core module.
static const char* GetVersion();
Parameters
None.
Return Value
Returns a const char pointer representing the version of the core module.
AllocateBytes
Allocates a block of memory.
static void* AllocateBytes(size_t length);
Parameters
[in] length
The number of bytes to allocate.
Return Value
Returns a pointer to the allocated memory.
FreeBytes
Frees a block of memory.
static void FreeBytes(void* ptr);
Parameters
[in] ptr
A pointer to the memory to free.