module Anyolite::RbRefTable
Overview
This is a very simple approach to generate artificial references to the wrapped objects. Therefore, the GC won't delete the wrapped objects until necessary. Furthermore, this is only possible as a module due to C closure limitations.
TODO Add compilation option for ignoring entry checks
TODO Put the hash value union into a struct
Defined in:
RbRefTable.crClass Method Summary
- .add(identification, value, rb_value)
- .check_interpreter
- .delete(identification)
- .get(identification)
- .get_current_interpreter : RbInterpreter
-
.get_object_id(value)
TODO If a struct wrapper is given here, call the struct methods instead of the wrapper methods
- .get_rb_value(identification)
- .inspect
- .is_registered?(identification)
- .may_delete?(identification)
- .number_of_references
- .option_active?(symbol)
- .reset
- .set_current_interpreter(interpreter : RbInterpreter)
- .set_option(symbol)
- .unset_option(symbol)
Class Method Detail
def self.get_object_id(value)
#
TODO If a struct wrapper is given here, call the struct methods instead of the wrapper methods