createWorkflow method
Implementation
Pointer<Void> createWorkflow(Pointer<Void> libraryPtr, String workflowName) {
Pointer<Pointer<Void>> workflowOut = calloc();
int error = _createWorkflow(libraryPtr, workflowName.toNativeUtf8(), workflowOut);
if( error != FaceCaptureErrorCode.noErrors.value ) {
throw FaceCaptureException(error);
}
Pointer<Void> workflowPtr = workflowOut.value;
calloc.free(workflowOut);
return workflowPtr;
}