create_function_compat method

int create_function_compat(
  1. PtrSqlite3 db,
  2. String name,
  3. int nArg,
  4. int eTextRep,
  5. PtrVoid pApp,
  6. PtrDefpxFunc xFunc,
  7. PtrDefpxFunc xStep,
  8. PtrDefxFinal xFinal,
  9. PtrDefxFree xDestroy,
)

Implementation

int create_function_compat(
    cpf.PtrSqlite3 db,
    String name,
    int nArg,
    int eTextRep,
    cpf.PtrVoid pApp,
    cpf.PtrDefpxFunc xFunc,
    cpf.PtrDefpxFunc xStep,
    cpf.PtrDefxFinal xFinal,
    cpf.PtrDefxFree xDestroy) {
  if (libVersionNumber >= 3007003) {
    return create_function_v2(db, name, nArg, eTextRep, pApp, xFunc, xStep, xFinal, xDestroy);
  }
  return create_function(db, name, nArg, eTextRep, pApp, xFunc, xStep, xFinal);
}