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:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user