aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-08-08 01:04:52 +0000
committerdrh <drh@noemail.net>2007-08-08 01:04:52 +0000
commitf7083bf6d22e6840c583c95b452af2348c206832 (patch)
treec51620acc9b01ffd40c92bf456360aea62d3de1c /src/sqliteInt.h
parentfd131daecd8acf229b93be883f2df7217fd41af5 (diff)
downloadsqlite-f7083bf6d22e6840c583c95b452af2348c206832.tar.gz
sqlite-f7083bf6d22e6840c583c95b452af2348c206832.zip
Additional refinements on the amalgamation: Give a couple of constants
file scope and add the SQLITE_API prefix to some interfaces that need it. Ticket #2554. (CVS 4199) FossilOrigin-Name: c09ec102c4f62e492dd3676ef0aa1a183d6ce3b3
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index dfb953e4c..f2868b504 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.583 2007/08/07 17:13:04 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.584 2007/08/08 01:04:52 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -256,15 +256,15 @@ extern int sqlite3_iLine; /* Line number for debug info */
#endif
-/* Variable sqlite3_mallocHasFailed is set to true after a malloc()
+/* Variable sqlite3MallocHasFailed is set to true after a malloc()
** failure occurs.
**
** The sqlite3MallocFailed() macro returns true if a malloc has failed
** in this thread since the last call to sqlite3ApiExit(), or false
** otherwise.
*/
-extern int sqlite3_mallocHasFailed;
-#define sqlite3MallocFailed() (sqlite3_mallocHasFailed && sqlite3OsInMutex(1))
+extern int sqlite3MallocHasFailed;
+#define sqlite3MallocFailed() (sqlite3MallocHasFailed && sqlite3OsInMutex(1))
#define sqliteFree(x) sqlite3FreeX(x)
#define sqliteAllocSize(x) sqlite3AllocSize(x)