diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-21 18:03:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-21 18:03:36 -0800 |
commit | 5c0453b01b37fcfb95f049d3425b54b4a79d9002 (patch) | |
tree | 4e21b0732c7c79605bd4a157fc5c2c173fd79615 /tools/bindings_generator.py | |
parent | 67eb860082620155844eb45e27783a80ece168a7 (diff) |
fix bindings generator bug with closure compiler
Diffstat (limited to 'tools/bindings_generator.py')
-rwxr-xr-x | tools/bindings_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bindings_generator.py b/tools/bindings_generator.py index 17df1231..4731abf3 100755 --- a/tools/bindings_generator.py +++ b/tools/bindings_generator.py @@ -676,7 +676,7 @@ def generate_class(generating_classname, classname, clazz): # TODO: deprecate ge print 'zz making return', classname, method['name'], method['returns'], return_value if method['returns'] in classes: # Generate a wrapper - calls += 'return wrapPointer(%s, Module.%s);' % (return_value, method['returns'].split('::')[-1]) + calls += '''return wrapPointer(%s, Module['%s']);''' % (return_value, method['returns'].split('::')[-1]) else: # Normal return calls += ('return ' if ret != 'void' else '') + return_value + ';' |