mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
Add scope support
This commit is contained in:
16
pkg/db/sqlite/regexp/regexp.go
Normal file
16
pkg/db/sqlite/regexp/regexp.go
Normal file
@ -0,0 +1,16 @@
|
||||
package regexp
|
||||
|
||||
// #ifndef USE_LIBSQLITE3
|
||||
// #include <sqlite3-binding.h>
|
||||
// #else
|
||||
// #include <sqlite3.h>
|
||||
// #endif
|
||||
//
|
||||
// // Extension function defined in regexp.c.
|
||||
// extern int sqlite3_regexp_init(sqlite3*, char**, const sqlite3_api_routines*);
|
||||
//
|
||||
// // Use constructor to register extension function with sqlite.
|
||||
// void __attribute__((constructor)) init(void) {
|
||||
// sqlite3_auto_extension((void*) sqlite3_regexp_init);
|
||||
// }
|
||||
import "C"
|
Reference in New Issue
Block a user