Gnash
0.8.10
|
#include <map>
#include <vector>
#include <memory>
#include <locale>
#include <boost/cstdint.hpp>
#include <boost/random.hpp>
#include <boost/noncopyable.hpp>
#include <boost/array.hpp>
#include "GC.h"
#include "string_table.h"
#include "SafeStack.h"
#include "CallStack.h"
#include "as_value.h"
#include "namedStrings.h"
#include "ObjectURI.h"
#include "ConstantPool.h"
Go to the source code of this file.
Classes | |
class | gnash::VM |
The AVM1 virtual machine. More... | |
class | gnash::FrameGuard |
Namespaces | |
namespace | gnash |
Anonymous namespace for callbacks, local functions, event handlers etc. | |
Functions | |
ObjectURI | gnash::getURI (const VM &vm, const std::string &str, bool lowerCaseHint=false) |
ObjectURI | gnash::getURI (const VM &, NSV::NamedStrings s) |
const std::string & | gnash::toString (VM &vm, const ObjectURI &uri) |
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. |