Example #1
0
JSObjectRef Function::StaticConstructorCallback(JSContextRef ctx, JSObjectRef constructor,
		size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
	Function *thiz = objMap[constructor];
	if (thiz) {
		return thiz->ConstructorCallback(ctx,constructor,argumentCount,arguments,exception);
	}
	return NULL;
}