Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 1.71 KB

File metadata and controls

76 lines (48 loc) · 1.71 KB
layout default-layout
title class CCoreModule - Dynamsoft Capture Vision C++ Edition API Reference
description This page shows the C++ edition of the class CCoreModule in Dynamsoft Utility Module.
keywords core module, c++
needAutoGenerateSidebar true
needGenerateH3Content true
breadcrumbText C++ CCoreModule Class

CCoreModule

The CCoreModule class defines general functions in the core module.

Definition

Namespace: dynamsoft::basic_structures

Assembly: DynamsoftCore

class CCoreModule 

Methods

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.