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
2009-12-15 07:35:55 +02:00

31 lines
No EOL
528 B
C

#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;
/**
* 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