Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user