Hi,
In message "[ruby-talk:6426] Re: Where is T_RANGE?"
on 00/11/18, Robert Feldt <feldt / ce.chalmers.se> writes:
|> Since Range uses T_OBJECT structure.
|Yeah, but is there any special reason (or is it a "development artefact")?
Simple reason: no special structure was needed.
|Is it ok to use the current T_X defined in ruby.h or might they change in
|future version so that you should avoid using comparisons with TYPE()?
You can use it. Changing T_XXX names would affect the whole Ruby-C API.
I'm not going to do such, unless some urgent case would happen.
Well, don't ask me what that 'urgent case' would be.
matz.