Go to the source code of this file.
|
template<typename T > |
static void | ToJSVal_vector (JSContext *cx, JS::MutableHandleValue ret, const std::vector< T > &val) |
|
template<typename T > |
static bool | FromJSVal_vector (JSContext *cx, JS::HandleValue v, std::vector< T > &out) |
|
template<typename T > |
static bool | FromJSProperty (JSContext *cx, JS::HandleValue v, const char *name, T &out) |
|
#define FAIL |
( |
|
msg | ) |
STMT(JS_ReportError(cx, msg); return false) |
#define JSVAL_VECTOR |
( |
|
T | ) |
|
Value:template<> void ScriptInterface::ToJSVal<std::vector<T> >(JSContext* cx, JS::MutableHandleValue ret, const std::vector<T>& val) \
} \
template<>
bool ScriptInterface::FromJSVal<std::vector<T> >(JSContext* cx, JS::HandleValue v, std::vector<T>&
out) \
{ \
}
static void out(const wchar_t *fmt,...)
Definition: wdbg_sym.cpp:419
static bool FromJSVal_vector(JSContext *cx, JS::HandleValue v, std::vector< T > &out)
Definition: ScriptConversions.h:48
static void ToJSVal_vector(JSContext *cx, JS::MutableHandleValue ret, const std::vector< T > &val)
Definition: ScriptConversions.h:26
template<typename T >
static bool FromJSProperty |
( |
JSContext * |
cx, |
|
|
JS::HandleValue |
v, |
|
|
const char * |
name, |
|
|
T & |
out |
|
) |
| |
|
static |
template<typename T >
static bool FromJSVal_vector |
( |
JSContext * |
cx, |
|
|
JS::HandleValue |
v, |
|
|
std::vector< T > & |
out |
|
) |
| |
|
static |
template<typename T >
static void ToJSVal_vector |
( |
JSContext * |
cx, |
|
|
JS::MutableHandleValue |
ret, |
|
|
const std::vector< T > & |
val |
|
) |
| |
|
static |