You are here: C++ API > Functions > dtssIntArrayDelete Function
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtssIntArrayDelete Function

File: dtsearch.h

Syntax
C++
void DLLFUNC dtssIntArrayDelete(dtsIntArrayHandle hArray);
Parameters
Description
hStr
Handle to the array

Delete an integer array represented by a dtsStringHandle

dtsIntArrayHandles are used to return variable-length integer arrays from certain dtSearch Engine API functions. To obtain the contents of the array:

  1. Use dtssIntArrayGetLength to get the length of the array,
  2. Allocate a buffer large enough for the array,
  3. Call dtssIntArrayGetItems to obtain the contents of the array, and
  4. Call dtssIntArrayDelete to free the memory that was allocated for the string.
Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.