/** * call-seq: * Rev::Watcher.evloop -> Rev::Loop * * Return the loop to which we're currently attached */ static VALUE Rev_Watcher_evloop(VALUE self) { struct Rev_Watcher *watcher_data; Data_Get_Struct(self, struct Rev_Watcher, watcher_data); return watcher_data->loop; }