SealdSdk_Initialize method

Initialize a Seald SDK Instance.

@param options A pointer to a SealdInitializeOptions instance. @param result A pointer to a SealdSdk* to store the created SDK instance. @param error A pointer to a SealdError* where details will be stored in case of error. @return Error code: -1 if an error happened, 0 for success.

Implementation

int SealdSdk_Initialize(
  ffi.Pointer<NativeSealdInitializeOptions> options,
  ffi.Pointer<ffi.Pointer<NativeSealdSdk>> result,
  ffi.Pointer<ffi.Pointer<NativeSealdError>> error,
) {
  return _SealdSdk_Initialize(
    options,
    result,
    error,
  );
}