Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add file sqlite3rtree.h. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
e1d9ffce0f84469eeb926f50030cb772 |
User & Date: | dan 2010-08-30 11:34:40.000 |
Context
2010-08-30
| ||
15:02 | Remove the sqlite3BtreeFactory() wrapper routine. All modules now call sqlite3BtreeOpen() directly. (check-in: 0900e35348 user: drh tags: trunk) | |
11:34 | Add file sqlite3rtree.h. (check-in: e1d9ffce0f user: dan tags: trunk) | |
01:17 | Updates to comments on the VDBE opcodes. (check-in: 49c05b4e08 user: drh tags: trunk) | |
Changes
Added ext/rtree/sqlite3rtree.h.
> > > > > > > > > > > > > > > > > > > > > > > > > > | 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 | #include <sqlite3.h> typedef struct RtreeGeometry RtreeGeometry; struct RtreeGeometry { void *pContext; /* Copy of pContext passed to s_r_g_c() */ int nParam; /* Size of array aParam[] */ double *aParam; /* Parameters passed to SQL geom function */ void *pUser; /* Callback implementation user data */ void (*xDelUser)(void *); /* Called by SQLite to clean up pUser */ }; /* ** Register a geometry callback named zGeom that can be used as part of an ** R-Tree geometry query as follows: ** ** SELECT ... FROM <rtree> WHERE <rtree> MATCH $zGeom(... params ...) */ int sqlite3_rtree_geometry_callback( sqlite3 *db, const char *zGeom, int (*xGeom)(RtreeGeometry *, int nCoord, double *aCoord, int *piResOut), void *pContext ); |