summaryrefslogtreecommitdiff
path: root/spec/ruby/optional/capi/set_spec.rb
AgeCommit message (Collapse)Author
2025-11-19Update to ruby/spec@6e62695Benoit Daloze
2025-09-11Don't load set_spec.c if not Ruby 3.5Peter Zhu
2025-07-11Add Set C-APIJeremy Evans
This should be a minimal C-API needed to deal with Set objects. It supports creating the sets, checking whether an element is the set, adding and removing elements, iterating over the elements, clearing a set, and returning the size of the set. Co-authored-by: Nobuyoshi Nakada <nobu.nakada@gmail.com>