SpiderMonkey 38 upgrade: 12/35

Major update to the JSClass stubs. Based on patch by leper.
https://bugzilla.mozilla.org/show_bug.cgi?id=1103152

This was SVN commit r18666.
This commit is contained in:
Itms
2016-09-02 16:26:54 +00:00
parent b01300c222
commit c99ae7ca1c
4 changed files with 20 additions and 28 deletions
@@ -1,4 +1,4 @@
/* Copyright (C) 2012 Wildfire Games.
/* Copyright (C) 2016 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -22,11 +22,7 @@
#define BEGIN_INTERFACE_WRAPPER(iname) \
JSClass class_ICmp##iname = { \
"ICmp" #iname, JSCLASS_HAS_PRIVATE, \
JS_PropertyStub, JS_DeletePropertyStub, JS_PropertyStub, JS_StrictPropertyStub, \
JS_EnumerateStub, JS_ResolveStub, \
JS_ConvertStub, NULL, \
NULL, NULL, NULL, NULL \
"ICmp" #iname, JSCLASS_HAS_PRIVATE \
}; \
static JSFunctionSpec methods_ICmp##iname[] = {