Sirikata
|
#include "JSFunctionInvokable.hpp"
#include "JSInvokableObject.hpp"
#include <sirikata/proxyobject/Invokable.hpp>
#include "JSVisible.hpp"
#include "../EmersonScript.hpp"
#include "../JSObjectStructs/JSVisibleStruct.hpp"
#include "JSPresence.hpp"
#include "../JSObjectStructs/JSPresenceStruct.hpp"
Go to the source code of this file.
Namespaces | |
namespace | Sirikata |
Note: All the classes provided in this file are thin wrappers around the corresponding classes in ASIO. | |
namespace | Sirikata::JS |
namespace | Sirikata::JS::InvokableUtil |
Functions | |
boost::any | Sirikata::JS::InvokableUtil::V8ToAny (EmersonScript *parent, v8::Handle< v8::Value > val) |
Converts a V8 object into a boost:any, leaving the boost::any empty if the object cannot be translated. | |
v8::Handle< v8::Value > | Sirikata::JS::InvokableUtil::AnyToV8 (EmersonScript *parent, const boost::any &val) |
Converts a boost::any into a V8 object, or returns undefined if the object can't be translated. |