Functions |
| void | gnash::newAdd (as_value &op1, const as_value &op2, const VM &vm) |
| | Carry out ActionNewAdd.
|
| void | gnash::subtract (as_value &op1, const as_value &op2, const VM &vm) |
| | Carry out ActionSubtract.
|
| as_value | gnash::newLessThan (const as_value &op1, const as_value &op2, const VM &vm) |
| | Carry out ActionSubtract.
|
| bool | gnash::equals (const as_value &a, const as_value &b, const VM &vm) |
| | Check if two values are equal.
|
| bool | gnash::toBool (const as_value &v, const VM &vm) |
| | Convert an as_value to boolean type.
|
| double | gnash::toNumber (const as_value &v, const VM &vm) |
| | Convert an as_value to a double.
|
| as_object * | gnash::toObject (const as_value &v, VM &vm) |
| | Convert an as_value to an object.
|
| boost::int32_t | gnash::toInt (const as_value &val, const VM &vm) |
| | AS2-compatible conversion to 32bit integer.
|
| as_value & | gnash::convertToNumber (as_value &v, const VM &vm) |
| | Force type to number.
|
| as_value & | gnash::convertToString (as_value &v, const VM &vm) |
| | Force type to string.
|
| as_value & | gnash::convertToBoolean (as_value &v, const VM &vm) |
| | Force type to bool.
|
| as_value & | gnash::convertToPrimitive (as_value &v, const VM &vm) |
| | Convert to the appropriate primitive type.
|