1#ifndef RBIMPL_INTERN_OBJECT_H
2#define RBIMPL_INTERN_OBJECT_H
29#define RB_OBJ_INIT_COPY(obj, orig) \
30 ((obj) != (orig) && (rb_obj_init_copy((obj), (orig)), 1))
31#define OBJ_INIT_COPY(obj, orig) RB_OBJ_INIT_COPY(obj, orig)
Tewaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
VALUE rb_class_superclass(VALUE)
Returns the superclass of klass.
VALUE rb_obj_taint(VALUE)
call-seq: obj.taint -> obj
VALUE rb_obj_trust(VALUE)
call-seq: obj.trust -> obj
VALUE rb_class_get_superclass(VALUE)
Returns the superclass of klass The return value might be an iclass of a module, unlike rb_class_supe...
VALUE rb_convert_type(VALUE, int, const char *, const char *)
Converts an object into another type.
VALUE rb_Float(VALUE)
Equivalent to Kernel#Float in Ruby.
VALUE rb_check_to_int(VALUE)
Tries to convert val into Integer.
VALUE rb_check_convert_type(VALUE, int, const char *, const char *)
Tries to convert an object into another type.
VALUE rb_any_to_s(VALUE)
Default implementation of #to_s.
VALUE rb_obj_alloc(VALUE)
Allocates an instance of klass.
VALUE rb_class_new_instance(int, const VALUE *, VALUE)
Allocates and initializes an instance of klass.
VALUE rb_class_new_instance_kw(int, const VALUE *, VALUE, int)
VALUE rb_class_new_instance_pass_kw(int, const VALUE *, VALUE)
VALUE rb_check_to_float(VALUE)
Tries to convert an object into Float.
VALUE rb_Hash(VALUE)
Equivalent to Kernel#Hash in Ruby.
VALUE rb_obj_frozen_p(VALUE)
VALUE rb_obj_init_copy(VALUE, VALUE)
Default implementation of #initialize_copy.
int rb_eql(VALUE, VALUE)
Determines if obj1 and obj2 are equal in terms of Object::eql?.
double rb_str_to_dbl(VALUE, int)
Parses a string representation of a floating point number.
VALUE rb_Integer(VALUE)
Equivalent to Kernel#Integer in Ruby.
VALUE rb_Array(VALUE)
Equivalent to Kernel#Array in Ruby.
VALUE rb_obj_class(VALUE)
VALUE rb_obj_dup(VALUE)
Equivalent to Object#dup in Ruby.
VALUE rb_inspect(VALUE)
Convenient wrapper of Object::inspect.
VALUE rb_obj_untrust(VALUE)
call-seq: obj.untrust -> obj
VALUE rb_class_inherited_p(VALUE, VALUE)
Determines if mod inherits arg.
VALUE rb_obj_is_instance_of(VALUE, VALUE)
Determines if obj is an instance of c.
VALUE rb_class_real(VALUE)
Looks up the nearest ancestor of cl, skipping singleton classes or module inclusions.
VALUE rb_to_float(VALUE)
Converts a Numeric object into Float.
VALUE rb_obj_clone(VALUE)
Almost same as Object::clone.
VALUE rb_obj_is_kind_of(VALUE, VALUE)
Determines if obj is a kind of c.
double rb_cstr_to_dbl(const char *, int)
Parses a string representation of a floating point number.
VALUE rb_obj_freeze(VALUE)
Make the object unmodifiable.
VALUE rb_check_to_integer(VALUE, const char *)
Tries to convert val into Integer.
VALUE rb_obj_untrusted(VALUE)
call-seq: obj.untrusted? -> false
VALUE rb_String(VALUE)
Equivalent to Kernel#String in Ruby.
VALUE rb_obj_untaint(VALUE)
call-seq: obj.untaint -> obj
VALUE rb_obj_tainted(VALUE)
call-seq: obj.tainted? -> false
VALUE rb_to_int(VALUE)
Converts val into Integer.
VALUE rb_memory_id(VALUE)
Defines RBIMPL_ATTR_PURE.
#define RBIMPL_ATTR_PURE()
Wraps (or simulates) __attribute__((pure))