Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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.