create method

Pointer<Void> create()

Implementation

Pointer<Void> create() {
  Pointer<Pointer<Void>> libraryOut = calloc();
  int error = _create(libraryOut);
  if( error != FaceCaptureErrorCode.noErrors.value ) {
    throw FaceCaptureException(error);
  }
  Pointer<Void> libraryPtr = libraryOut.value;
  calloc.free(libraryOut);

  return libraryPtr;
}