Ruby  1.9.3p551(2014-11-13revision48407)
Macros
ruby_missing.h File Reference

Go to the source code of this file.

Macros

#define rb_define_copy_func(klass, func)   rb_define_method((klass), "initialize_copy", (func), 1)
 
#define FPTR_TO_FD(fptr)   ((fptr)->fd)
 
#define rb_io_t   OpenFile
 
#define rb_str_set_len(str, length)
 
#define rb_block_call(arg1, arg2, arg3, arg4, arg5, arg6)   rb_iterate(rb_each, (arg1), (arg5), (arg6))
 
#define PRIsVALUE   "s"
 
#define RB_OBJ_CLASSNAME(obj)   rb_obj_classname(obj)
 
#define RB_OBJ_STRING(obj)   StringValueCStr(obj)
 

Macro Definition Documentation

#define FPTR_TO_FD (   fptr)    ((fptr)->fd)
#define PRIsVALUE   "s"

Definition at line 45 of file ruby_missing.h.

#define rb_block_call (   arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6 
)    rb_iterate(rb_each, (arg1), (arg5), (arg6))
#define rb_define_copy_func (   klass,
  func 
)    rb_define_method((klass), "initialize_copy", (func), 1)
#define rb_io_t   OpenFile

Definition at line 25 of file ruby_missing.h.

Referenced by rb_io_memsize().

#define RB_OBJ_CLASSNAME (   obj)    rb_obj_classname(obj)

Definition at line 46 of file ruby_missing.h.

#define RB_OBJ_STRING (   obj)    StringValueCStr(obj)

Definition at line 47 of file ruby_missing.h.

#define rb_str_set_len (   str,
  length 
)