1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/docs/data_conversion.txt

19 lines
474 B
Text
Raw Normal View History

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.