1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Add conditional 'extern "C"' block to sqlite3async.h. Ticket #3866. (CVS 6662)

FossilOrigin-Name: e4d1b117c90dca341bfa74291c7dfc2afca38cc6
This commit is contained in:
danielk1977
2009-05-21 04:42:19 +00:00
parent 748ce21115
commit 1ed93e9085
3 changed files with 18 additions and 8 deletions

View File

@ -2,6 +2,13 @@
#ifndef __SQLITEASYNC_H_
#define __SQLITEASYNC_H_ 1
/*
** Make sure we can call this stuff from C++.
*/
#ifdef __cplusplus
extern "C" {
#endif
#define SQLITEASYNC_VFSNAME "sqlite3async"
/*
@ -209,5 +216,8 @@ int sqlite3async_control(int op, ...);
#define SQLITEASYNC_HALT_NOW 1 /* Halt as soon as possible */
#define SQLITEASYNC_HALT_IDLE 2 /* Halt when write-queue is empty */
#ifdef __cplusplus
} /* End of the 'extern "C"' block */
#endif
#endif /* ifndef __SQLITEASYNC_H_ */