#ifndef grdb_config_h #define grdb_config_h #if defined(COCOAPODS) #if defined(GRDBCIPHER) #include #else #include #endif #else #if defined(GRDBCIPHER) #include #elsif defined(GRDBCUSTOMSQLITE) #include #else #include #endif #endif typedef void(*errorLogCallback)(void *pArg, int iErrCode, const char *zMsg); // Wrapper around sqlite3_config(SQLITE_CONFIG_LOG, ...) which is a variadic // function that can't be used from Swift. static inline void registerErrorLogCallback(errorLogCallback callback) { sqlite3_config(SQLITE_CONFIG_LOG, callback, 0); } #endif /* grdb_config_h */