strglob method
Implementation
int strglob(String zGlob, String zStr) {
if (libVersionNumber < 3007017) {
throw dbsql.DatabaseException('API sqlite3_strglob is not available before 3.7.17');
}
final zGlobMeta = zGlob._metaNativeUtf8();
final ptrZGlob = zGlobMeta.ptr;
final zStrMeta = zStr._metaNativeUtf8();
final ptrZStr = zStrMeta.ptr;
try {
return _h_sqlite3_strglob!(ptrZGlob, ptrZStr);
} finally {
pkgffi.malloc.free(ptrZGlob);
pkgffi.malloc.free(ptrZStr);
}
}