aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-02-05 13:38:36 +0000
committerdrh <drh@noemail.net>2016-02-05 13:38:36 +0000
commit575fad6500070ad7fc7f91a8906b0b285965f99a (patch)
tree02a034f606a55aa903a161878ede6ff87932f75b /src/sqliteInt.h
parent98c7a12c003278d9332c25dc9782e491b7bb0845 (diff)
downloadsqlite-575fad6500070ad7fc7f91a8906b0b285965f99a.tar.gz
sqlite-575fad6500070ad7fc7f91a8906b0b285965f99a.zip
Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority
cases where db is guaranteed to be not NULL. FossilOrigin-Name: 0a802e96ab06e2643834b83671fa8353da1a348d
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 70f210c0a..760c1f4d2 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3227,6 +3227,7 @@ void *sqlite3Malloc(u64);
void *sqlite3MallocZero(u64);
void *sqlite3DbMallocZero(sqlite3*, u64);
void *sqlite3DbMallocRaw(sqlite3*, u64);
+void *sqlite3DbMallocRawNN(sqlite3*, u64);
char *sqlite3DbStrDup(sqlite3*,const char*);
char *sqlite3DbStrNDup(sqlite3*,const char*, u64);
void *sqlite3Realloc(void*, u64);