create_function16 method

int create_function16(
  1. PtrSqlite3 db,
  2. String zFunctionName,
  3. int nArg,
  4. int eTextRep,
  5. PtrVoid pApp,
  6. PtrDefpxFunc xFunc,
  7. PtrDefpxFunc xStep,
  8. PtrDefxFinal xFinal,
)
inherited

Implementation

int create_function16(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp,
    PtrDefpxFunc xFunc, PtrDefpxFunc xStep, PtrDefxFinal xFinal) {
  final zFunctionNameMeta = zFunctionName._metaNativeUtf16();
  final ptrZFunctionName = zFunctionNameMeta.ptr;
  try {
    return _h_sqlite3_create_function16(
        db, ptrZFunctionName, nArg, eTextRep, pApp, xFunc, xStep, xFinal);
  } finally {
    pkgffi.malloc.free(ptrZFunctionName);
  }
}