Exemplo n.º 1
0
static int yp_yajl_boolean(void *o, int boolVal)
{
	JsonParserCtx *ctx = static_cast<JsonParserCtx*>(o);
	assert(ctx->nestingChain);
	JsonEl *el = NewBool(boolVal);
	return jp_add_element(ctx, el);
}
Exemplo n.º 2
0
HandleProxy* V8EngineProxy::CreateBoolean(bool b)
{
	return GetHandleProxy(NewBool(b));
}