summaryrefslogtreecommitdiffstats
path: root/regex.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-02 06:55:44 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-02 06:55:44 -0700
commit1f4c97f1362f29084f08f7d2199475bbe749eb8e (patch)
treed0e31c9ea1fc0afad2ab4c47a59df0ad48329dfa /regex.h
parent88698e57f6a41adefd0a75bf8674c2ee065d1acd (diff)
downloadtxr-1f4c97f1362f29084f08f7d2199475bbe749eb8e.tar.gz
txr-1f4c97f1362f29084f08f7d2199475bbe749eb8e.tar.bz2
txr-1f4c97f1362f29084f08f7d2199475bbe749eb8e.zip
Fix incorrect example and add one more approach.
HACKING: Fix wrong make_foo example which violates Rule One, by registering an uninitialized struct as a cobj handle, thereby making garbage traversable by gc. Also show alternative solution to the problem based on extending variable liveness via gc_hint.
Diffstat (limited to 'regex.h')
0 files changed, 0 insertions, 0 deletions