/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to include/sqlite3cc/util.h

  • Committer: edam
  • Date: 2011-12-05 19:44:14 UTC
  • Revision ID: edam@waxworlds.org-20111205194414-mj9yzdnf8h5kzhmp
updaed TODO, fixed a comment

Show diffs side-by-side

added added

removed removed

33
33
 
34
34
/**
35
35
 * Check to see if sqlite is threadsafe. Returns true if sqlite is set to the
36
 
 * serialised threading mode.
37
 
 * @returns true if sqlite is threadsafe
 
36
 * serialised threading mode. See http://www.sqlite.org/threadsafe.html for more
 
37
 * information.
 
38
 * @returns sqlite threading mode
 
39
 * @see sqlite_threadsafe()
38
40
 */
39
 
bool threadsafe();
 
41
int threadsafe();
40
42
 
41
43
 
42
44
} // namespace sqlite
43
45
 
44
46
 
 
47
extern "C" {
 
48
 
 
49
        /**
 
50
         * Convenience function, so that the presence of libsqlite3cc can be
 
51
         * detected easily from autoconf's AC_CHECK_LIB() macro.
 
52
         */
 
53
        void libsqlite3cc_is_present( void );
 
54
 
 
55
} // extern "C"
 
56
 
 
57
 
45
58
#endif /* SQLITE3CC_UTIL_H_ */