file_control method

int file_control(
  1. PtrSqlite3 arg1,
  2. String? zDbName,
  3. int op,
  4. PtrVoid arg2,
)
inherited

Implementation

int file_control(PtrSqlite3 arg1, String? zDbName, int op, PtrVoid arg2) {
  final zDbNameMeta = zDbName?._metaNativeUtf8();
  final ptrZDbName = zDbNameMeta?.ptr ?? ffi.nullptr;
  try {
    return _h_sqlite3_file_control(arg1, ptrZDbName, op, arg2);
  } finally {
    pkgffi.malloc.free(ptrZDbName);
  }
}