compileoption_used method

int compileoption_used(
  1. String zOptName
)
inherited

Implementation

int compileoption_used(String zOptName) {
  if (libVersionNumber < 3006023) {
    throw dbsql.DatabaseException(
        'API sqlite3_compileoption_used is not available before 3.6.23');
  }
  final zOptNameMeta = zOptName._metaNativeUtf8();
  final ptrZOptName = zOptNameMeta.ptr;
  try {
    return _h_sqlite3_compileoption_used!(ptrZOptName);
  } finally {
    pkgffi.malloc.free(ptrZOptName);
  }
}