Documentation Source Text

Check-in [ed402895f8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a link to example geometry callback code to rtree.in.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ed402895f82ec529c3b03ccadb8a13da5cb2a912
User & Date: dan 2010-08-31 15:03:14
Context
2010-08-31
15:53
Expand the description of the large-transaction limitatioo for WAL mode. Identify additional requirements in the second file format document. check-in: 400de5a3af user: drh tags: trunk
15:03
Add a link to example geometry callback code to rtree.in. check-in: ed402895f8 user: dan tags: trunk
11:01
Add documentation for custom r-tree geometry callbacks to rtree.in check-in: 7e421e2c51 user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pages/rtree.in.

398
399
400
401
402
403
404



405

invocations of the callback within the same custom r-tree query (for example, a
pointer to a complicated data structure used to test for region intersection).
If the xDelUser variable is set to a non-NULL value, then after the custom
r-tree query has finished running SQLite automatically invokes it with the
value of the pUser variable as the only argument. In other words, xDelUser
may be set to a destructor function for the pUser value.













>
>
>

>
398
399
400
401
402
403
404
405
406
407
408
409
invocations of the callback within the same custom r-tree query (for example, a
pointer to a complicated data structure used to test for region intersection).
If the xDelUser variable is set to a non-NULL value, then after the custom
r-tree query has finished running SQLite automatically invokes it with the
value of the pUser variable as the only argument. In other words, xDelUser
may be set to a destructor function for the pUser value.

<p>Example code implementing the "circle" r-tree geometry callback may be
found in the file 
<a href=http://www.sqlite.org/src/doc/trunk/src/test_rtree.c>test_rtree.c</a>.