captureStateDestroy method

void captureStateDestroy(
  1. Pointer<Void> libraryPtr,
  2. Pointer<Void> captureStatePtr
)

Implementation

void captureStateDestroy(Pointer<Void> libraryPtr, Pointer<Void> captureStatePtr) {
  int error = _captureStateDestroy(libraryPtr, captureStatePtr);
  if( error != FaceCaptureErrorCode.noErrors.value ) {
    throw FaceCaptureException(error);
  }
  // Do not calloc.free the captureStatPtr here
}