Update BlitzUtility:

- New DECLS
- Begin wrapping __cdecl sqlite3 into __stdcall functions (sqlite3 doesn't understand __stdcall)
- Use __stdcall and /EXPORT instead of __cdecl to not corrupt the stack.
- Implement two versions of the Indexer, V1 for really fast access and V2 for memory saving.

Signed-off-by: Michael Fabian Dirks <michael.dirks@realitybends.de>
This commit is contained in:
Michael Fabian Dirks
2015-06-06 14:09:40 +02:00
parent 39ad6503d5
commit 8049964bd1
21 changed files with 436 additions and 225 deletions
+2 -9
View File
@@ -1,14 +1,7 @@
#pragma once
#include "dllmain.h"
#include <list>
#include "sqlite3.h"
#include <list>
void SQLite3_OnProcessAttach();
void SQLite3_OnProcessDetach();
extern "C" {
DLL_EXPORT int sqlite3_bind_int64_ex(void* stmtPtr, uint32_t index, uint32_t low, uint32_t high);
DLL_EXPORT int sqlite3_bind_float(void* stmtPtr, uint32_t index, float value);
DLL_EXPORT void sqlite3_column_int64_ex(void* stmtPtr, uint32_t index, void* outPtr);
DLL_EXPORT float sqlite3_column_float(void* stmtPtr, uint32_t index);
}