-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDataTypeList.h
More file actions
36 lines (32 loc) · 1.18 KB
/
DataTypeList.h
File metadata and controls
36 lines (32 loc) · 1.18 KB
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
31
32
33
34
35
36
/*
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.
*/
#ifndef DATATYPE
#define DATATYPE_SELF
#define DATATYPE(_class_,_variable_,_inherits_) extern class _class_ *_variable_
#endif
/////////
// All Datatypes used in isxSQLite are initialized below.
/////////
// These datatypes are registered immediately upon loading the extension
#ifndef IGNORE_EXT_DTYPES
DATATYPE(isxSQLiteType,pisxSQLiteType,0);
#endif
// These datatypes are registered after all other initialization routines have completed. (Note: Most datatypes
// fall into this category.)
#ifndef EXT_DTYPES_ONLY
DATATYPE(SQLiteType,pSQLiteType,0);
DATATYPE(SQLiteDBType,pSQLiteDBType,0);
DATATYPE(SQLiteQueryType,pSQLiteQueryType,0);
DATATYPE(SQLiteTableType,pSQLiteTableType,0);
#endif
// ----------------------------------------------------
#ifdef DATATYPE_SELF
#undef DATATYPE_SELF
#undef DATATYPE
#endif