|
Gnash
0.8.10
|
#include "VM.h"#include <ostream>#include <memory>#include <boost/random.hpp>#include <cstdlib>#include <cmath>#include "SharedObject_as.h"#include "NativeFunction.h"#include "movie_definition.h"#include "Movie.h"#include "movie_root.h"#include "Global_as.h"#include "rc.h"#include "namedStrings.h"#include "VirtualClock.h"#include "GnashNumeric.h"Namespaces | |
| namespace | gnash |
Anonymous namespace for callbacks, local functions, event handlers etc. | |
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. | |
1.7.6.1