Bill Currie
2b25748cc4
[ruamoko] Correct SetIterator memory handling
...
This makes SetIterator more compatible with autorelease.
2021-12-24 06:45:13 +09:00
Bill Currie
49c3dacbbc
[util] Rename set_size to set_count
...
After seeing set_size and thinking it redundant (thought it returned the
capacity of the set until I checked), I realized set_count would be a
much better name (set_count (node->successors) in qfcc does make much
more sense).
2021-07-27 11:52:21 +09:00
Bill Currie
cdc1f0c5e7
[libr] Treat ruamoko headers as system headers
...
Now that qfcc actually supports them properly.
2020-03-03 15:24:41 +09:00
Bill Currie
c2138183dd
[libr] Initialize SetIterator the right way
...
I'd written Set.[rh] after the big rewrite so never noticed the access
error.
2020-03-03 10:43:29 +09:00
Bill Currie
e17d8ac9db
Add ruamoko wrappers for the set api.
...
This includes both normal functions and a Set class (and SetIterator
class). Most of the methods are implemented as builtins.
2012-12-16 13:48:36 +09:00