Class: IVY::Message

Inherits:
Object
  • Object
show all
Defined in:
ext/ivy/ivy.c

Instance Method Summary collapse

Instance Method Details

#unbindmsgObject

IVY::Message



234
235
236
237
238
239
240
241
242
243
244
245
246
# File 'ext/ivy/ivy.c', line 234

VALUE ruby_ivy_unbindmsg( VALUE class ) {
  RbTIvyMsg *pRbTIvyMsg;
  Data_Get_Struct( class, RbTIvyMsg, pRbTIvyMsg );
  
  if( pRbTIvyMsg->id != NULL ) { 
    IvyUnbindMsg( pRbTIvyMsg->id );
    pRbTIvyMsg->id = NULL;
  } else {
    rb_warn( "IVY::Message not binded!" );
  }
  
  return( Qnil );
}