1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/ext/v8/v8_standalone.h

31 lines
528 B
C
Raw Normal View History

2009-11-13 23:29:42 -05:00
#ifndef __v8_standalone_h__
#define __v8_standalone_h__
#include "ruby.h"
/**
* interned symbol for "call"
*/
extern VALUE ruby_call_symbol;
/**
* id for respond_to?
*/
extern VALUE ruby_respond_to_ID;
extern VALUE ruby_proc_class;
extern VALUE ruby_method_class;
2009-11-13 23:29:42 -05:00
/**
* Determine whether or not a value can respond to "call".
* i.e. is this Proc/Method object?
*/
bool is_callable(VALUE& object);
/**
* Debugging aid. Println debugging goo for VALUES.
*/
VALUE v8_what_is_this(VALUE self, VALUE object);
#endif