create_window_function method

int create_window_function(
  1. PtrSqlite3 db,
  2. String zFunctionName,
  3. int nArg,
  4. int eTextRep,
  5. PtrVoid pApp,
  6. PtrDefpxFunc xStep,
  7. PtrDefxFinal xFinal,
  8. PtrDefxFinal xValue,
  9. PtrDefpxFunc xInverse,
  10. PtrDefxFree xDestroy,
)
inherited

Implementation

int create_window_function(
    PtrSqlite3 db,
    String zFunctionName,
    int nArg,
    int eTextRep,
    PtrVoid pApp,
    PtrDefpxFunc xStep,
    PtrDefxFinal xFinal,
    PtrDefxFinal xValue,
    PtrDefpxFunc xInverse,
    PtrDefxFree xDestroy) {
  final zFunctionNameMeta = zFunctionName._metaNativeUtf8();
  final ptrZFunctionName = zFunctionNameMeta.ptr;
  try {
    return _h_sqlite3_create_window_function(
        db, ptrZFunctionName, nArg, eTextRep, pApp, xStep, xFinal, xValue, xInverse, xDestroy);
  } finally {
    pkgffi.malloc.free(ptrZFunctionName);
  }
}