mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-16 23:02:26 +03:00
Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in.
FossilOrigin-Name: 3ea567c4b07b2a7a027b9b5cb8250ab687803698
This commit is contained in:
@@ -280,7 +280,7 @@ static int SQLITE_TCLAPI sqlthread_open(
|
||||
const char *zFilename;
|
||||
sqlite3 *db;
|
||||
char zBuf[100];
|
||||
extern void Md5_Register(sqlite3*);
|
||||
extern int Md5_Register(sqlite3 *, char **, const void *);
|
||||
|
||||
UNUSED_PARAMETER(clientData);
|
||||
UNUSED_PARAMETER(objc);
|
||||
@@ -303,7 +303,7 @@ static int SQLITE_TCLAPI sqlthread_open(
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Md5_Register(db);
|
||||
Md5_Register(db, 0, 0);
|
||||
sqlite3_busy_handler(db, xBusy, 0);
|
||||
|
||||
if( sqlite3TestMakePointerStr(interp, zBuf, db) ) return TCL_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user