Change non-exported memory interfaces to following the naming conventions. (CVS 4797)
FossilOrigin-Name: 94774b41429c8bfa3582e30c09f414b9e5669575
diff --git a/src/test_malloc.c b/src/test_malloc.c
index 642e5c7..86a3205 100644
--- a/src/test_malloc.c
+++ b/src/test_malloc.c
@@ -13,7 +13,7 @@
** This file contains code used to implement test interfaces to the
** memory allocation subsystem.
**
-** $Id: test_malloc.c,v 1.14 2008/02/18 22:24:58 drh Exp $
+** $Id: test_malloc.c,v 1.15 2008/02/19 15:15:16 drh Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -312,8 +312,8 @@
if( Tcl_GetIntFromObj(interp, objv[1], &depth) ) return TCL_ERROR;
#ifdef SQLITE_MEMDEBUG
{
- extern void sqlite3_memdebug_backtrace(int);
- sqlite3_memdebug_backtrace(depth);
+ extern void sqlite3MemdebugBacktrace(int);
+ sqlite3MemdebugBacktrace(depth);
}
#endif
return TCL_OK;
@@ -337,8 +337,8 @@
#if defined(SQLITE_MEMDEBUG) || defined(SQLITE_MEMORY_SIZE) \
|| defined(SQLITE_POW2_MEMORY_SIZE)
{
- extern void sqlite3_memdebug_dump(const char*);
- sqlite3_memdebug_dump(Tcl_GetString(objv[1]));
+ extern void sqlite3MemdebugDump(const char*);
+ sqlite3MemdebugDump(Tcl_GetString(objv[1]));
}
#endif
return TCL_OK;
@@ -362,8 +362,8 @@
}
#if defined(SQLITE_MEMDEBUG)
{
- extern int sqlite3_memdebug_malloc_count();
- nMalloc = sqlite3_memdebug_malloc_count();
+ extern int sqlite3MemdebugMallocCount();
+ nMalloc = sqlite3MemdebugMallocCount();
}
#endif
Tcl_SetObjResult(interp, Tcl_NewIntObj(nMalloc));
@@ -503,8 +503,8 @@
zTitle = Tcl_GetString(objv[1]);
#ifdef SQLITE_MEMDEBUG
{
- extern int sqlite3_memdebug_settitle(const char*);
- sqlite3_memdebug_settitle(zTitle);
+ extern int sqlite3MemdebugSettitle(const char*);
+ sqlite3MemdebugSettitle(zTitle);
}
#endif
return TCL_OK;