/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: 2010-02-07 14:39:18 UTC
  • Revision ID: edam@waxworlds.org-20100207143918-gi030ojecbska8hw
- updated README
- set up project for use with autotools

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. See http://www.sqlite.org/threadsafe.html for more
37
 
 * information.
38
 
 * @returns sqlite threading mode
39
 
 * @see sqlite_threadsafe()
 
36
 * serialised threading mode.
 
37
 * @returns true if sqlite is threadsafe
40
38
 */
41
 
int threadsafe();
 
39
bool threadsafe();
42
40
 
43
41
 
44
42
} // namespace sqlite
45
43
 
46
44
 
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
 
 
58
45
#endif /* SQLITE3CC_UTIL_H_ */