-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTopLevelObjects.cpp
30 lines (26 loc) · 1.04 KB
/
TopLevelObjects.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
isxSQLite is an extension for InnerSpace (http://www.lavishsoft.com).
Copyright 2011-2016 isxGames.com (http://www.isxgames.com)
Permission to use the source code in this file is granted under the
Creative Commons Attribution 3.0 Unported (CC BY 3.0) license. Visit
http://creativecommons.org/licenses/by/3.0/ for a summary of what
rights are granted under this license.
*/
//--------------------------------
// Top Level Objects (which are available once the extension is fully loaded)
// are defined in this file. See TopLevelObjects.h for declarations.
//--------------------------------
#include "isxSQLite.h"
bool __cdecl TLO_SQLite(int argc, char *argv[], LSTYPEVAR &Dest)
{
#if TESTCALLS
#if TESTCALLS_TOFILE
DebugSpew(TESTCALLS_TOFILE "%d\t%s(%s)",pISInterface->GetRuntime(),__FUNCTION__,GetArgvStringForTestingCalls(argc,argv).c_str());
#else
DebugSpew("%d\t%s(%s)",pISInterface->GetRuntime(),__FUNCTION__,GetArgvStringForTestingCalls(argc,argv).c_str());
#endif
#endif
Dest.DWord=1;
Dest.Type=pSQLiteType;
return true;
}