mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
19 lines
474 B
Text
19 lines
474 B
Text
|
Short list of types that a receiver should handle:
|
||
|
|
||
|
type expected method
|
||
|
-------------------------------
|
||
|
<null> pushNull
|
||
|
boolean pushBool
|
||
|
int64 pushInt (overloaded on 64-bit int)
|
||
|
double pushDouble
|
||
|
const std::string& pushString
|
||
|
??? pushUndefined
|
||
|
|
||
|
int32 pushInt (overloaded on 32-bit int)
|
||
|
|
||
|
for lack of any better ideas have these functions return true on
|
||
|
success and false on error
|
||
|
|
||
|
--
|
||
|
should add more later.
|