Example #1
0
func init() {
	C.unqlite_lib_init()
	if !IsThreadSafe() {
		panic("unqlite library was not compiled for thread-safe option UNQLITE_ENABLE_THREADS=1")
	}
}
Example #2
0
func Init() error {
	e := C.unqlite_lib_init()
	return code2Error(e)
}