|
|
@ -822,7 +822,7 @@ class JSWrapperGenerator(object): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Generate bindings for properties |
|
|
|
# Generate bindings for properties |
|
|
|
for property in sorted(class_info.props): |
|
|
|
for property in class_info.props: |
|
|
|
_class_property = class_property_enum_template if property.tp in type_dict else class_property_template |
|
|
|
_class_property = class_property_enum_template if property.tp in type_dict else class_property_template |
|
|
|
class_bindings.append(_class_property.substitute(js_name=property.name, cpp_name='::'.join( |
|
|
|
class_bindings.append(_class_property.substitute(js_name=property.name, cpp_name='::'.join( |
|
|
|
[class_info.cname, property.name]))) |
|
|
|
[class_info.cname, property.name]))) |
|
|
|