/sqlite3cc

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

« back to all changes in this revision

Viewing changes to src/util.cc

  • 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

23
23
#include <sqlite3cc/util.h>
24
24
 
25
25
 
26
 
int sqlite::threadsafe()
27
 
{
28
 
        return sqlite3_threadsafe();
29
 
}
30
 
 
31
 
 
32
 
extern "C" void libsqlite3cc_is_present( void )
33
 
{
 
26
bool sqlite::threadsafe()
 
27
{
 
28
        return sqlite3_threadsafe() == 1;
34
29
}