aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/dom/bindings/codegen/Configuration.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2013-01-16 15:04:36 +0100
committerJosh Matthews <josh@joshmatthews.net>2013-03-13 11:40:16 -0400
commitebd1ce8055fcca488ca91fff768afdbf34d24a5f (patch)
tree9b17b8d9b39ba75a92ee570bedfe8b39c485ad5f /src/servo/dom/bindings/codegen/Configuration.py
parent30676402f5de81f869fcbeff1d639f74c5ebcc9c (diff)
downloadservo-ebd1ce8055fcca488ca91fff768afdbf34d24a5f.tar.gz
servo-ebd1ce8055fcca488ca91fff768afdbf34d24a5f.zip
Initial dump of codegen work. Requires manual running of various python scripts to build servo.
Diffstat (limited to 'src/servo/dom/bindings/codegen/Configuration.py')
-rw-r--r--src/servo/dom/bindings/codegen/Configuration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servo/dom/bindings/codegen/Configuration.py b/src/servo/dom/bindings/codegen/Configuration.py
index e60a89603a4..9f0c20f6584 100644
--- a/src/servo/dom/bindings/codegen/Configuration.py
+++ b/src/servo/dom/bindings/codegen/Configuration.py
@@ -10,7 +10,6 @@ class Configuration:
the configuration file.
"""
def __init__(self, filename, parseData):
-
# Read the configuration file.
glbl = {}
execfile(filename, glbl)
@@ -140,6 +139,7 @@ class Descriptor(DescriptorProvider):
nativeTypeDefault = "mozilla::dom::" + ifaceName
self.nativeType = desc.get('nativeType', nativeTypeDefault)
+ self.pointerType = desc.get('pointerType', '@')
self.hasInstanceInterface = desc.get('hasInstanceInterface', None)
# Do something sane for JSObject