diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-08-21 17:31:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-08-21 17:31:13 -0700 |
commit | bc06c87a10f9d9ddc4209ec0a49ab48bf37dc706 (patch) | |
tree | e06acf8464195351eb1f3ef37b8778248b2beb27 | |
parent | 0689691933695945e2f8f4ddd160da958bde936f (diff) | |
download | txr-bc06c87a10f9d9ddc4209ec0a49ab48bf37dc706.tar.gz txr-bc06c87a10f9d9ddc4209ec0a49ab48bf37dc706.tar.bz2 txr-bc06c87a10f9d9ddc4209ec0a49ab48bf37dc706.zip |
doc: note about cptr-obj lifetime.
* txr.1: Include blurb about the independent lifetime of a
ctpr made by cptr-obj and the original object.
If the original is garbage collected, the ctpr is junk.
-rw-r--r-- | txr.1 | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -49649,6 +49649,18 @@ This symbol becomes the .code cptr object's type tag. +The lifetime of the returned +.cptr +object is independent from that of +.metn object . +If the lifetime of +.meta object +reaches its end before that of the +.code cptr , +the pointer stored inside the +.code cptr +becomes invalid. + .coNP Function @ int-cptr .synb .mets (int-cptr << cptr ) |