Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.354 kb
#ifndef RBX_OBJECT_WATCH
#define RBX_OBJECT_WATCH
// #define ENABLE_OBJECT_WATCH
namespace rubinius {
class Object;
extern Object* object_watch;
#ifdef ENABLE_OBJECT_WATCH
static inline bool watched_p(Object* obj) {
return obj == object_watch;
}
#else
static inline bool watched_p(Object* obj) {
return false;
}
#endif
}
#endif
Jump to Line
Something went wrong with that request. Please try again.