Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence

This commit is contained in:
Tom Schuster
2014-01-09 18:39:36 +01:00
parent 648a6bdcd2
commit 4a7dd51a60
111 changed files with 593 additions and 601 deletions

View File

@@ -134,8 +134,8 @@ include = """
#endif
"""
jspubtd_include = """
#include "jspubtd.h"
jsvalue_include = """
#include "js/Value.h"
"""
infallible_includes = """
@@ -173,7 +173,7 @@ def print_header(idl, fd, filename):
fd.write(include % {'basename': idl_basename(inc.filename)})
if idl.needsJSTypes():
fd.write(jspubtd_include)
fd.write(jsvalue_include)
# Include some extra files if any attributes are infallible.
for iface in [p for p in idl.productions if p.kind == 'interface']: