/* * call-seq: * transition? -> bool * * +true+ iff the message is a transition message. */ static VALUE sm_is_transition_msg(VALUE obj) { struct SpreadMessage *sp_mess; Data_Get_Struct(obj, struct SpreadMessage, sp_mess); return INT2BOOL(Is_transition_mess(sp_mess->service_type)); }