/*
* call-seq:
* node_type.to_i => Numeric
*
* Returns an integer representing integer type of a node. This is the
* value you would see for the type of the node if you were examining it
* in gdb.
*/
static VALUE node_type_to_i(VALUE node_type)
{
return rb_struct_getmember(node_type, rb_intern("value"));
}