Index: bindings/dart/scripts/dart_attributes.py |
diff --git a/bindings/dart/scripts/dart_attributes.py b/bindings/dart/scripts/dart_attributes.py |
index 6e295ca0c83fca0ddf5379fa5b31438e6f7e02b7..24c9fa32a5cf5f5da051767cb7180602d7dd7baf 100644 |
--- a/bindings/dart/scripts/dart_attributes.py |
+++ b/bindings/dart/scripts/dart_attributes.py |
@@ -160,6 +160,19 @@ def generate_attribute(interface, attribute): |
if (not attribute.is_read_only): |
generate_setter(interface, attribute, contents) |
+ native_entry_getter = \ |
+ DartUtilities.generate_native_entry(interface.name, contents, |
+ attribute.name, 'Getter', |
+ None, [], None) |
+ native_entry_setter = \ |
+ DartUtilities.generate_native_entry(interface.name, contents, |
+ attribute.name, 'Setter', |
+ None, ["value"], None) |
+ contents.update({ |
+ 'native_entry_getter': native_entry_getter, |
+ 'native_entry_setter': native_entry_setter, |
+ }) |
+ |
return contents |