/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-02 16:13:16 UTC
  • Revision ID: edam@waxworlds.org-20100202161316-tceybmdeotltldow
- print "ok" when test program is successful!
- renamed 'Makefile's 'subdir.mk' so that the edam.mk build system will live happily along side an autotools build system

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
}