mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
31 lines
No EOL
528 B
C
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 |