mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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[] = {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user