Index: mojo/public/tools/bindings/pylib/mojom/generate/module.py |
diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/module.py b/mojo/public/tools/bindings/pylib/mojom/generate/module.py |
index 8af874fa71ed335be679939450a7535e22a72ee4..dfde609d5fa9b14ddad9ef88822c05820fe71c92 100644 |
--- a/mojo/public/tools/bindings/pylib/mojom/generate/module.py |
+++ b/mojo/public/tools/bindings/pylib/mojom/generate/module.py |
@@ -202,6 +202,7 @@ class UnionField(Field): pass |
class Struct(ReferenceKind): |
ReferenceKind.AddSharedProperty('name') |
+ ReferenceKind.AddSharedProperty('native_only') |
ReferenceKind.AddSharedProperty('module') |
ReferenceKind.AddSharedProperty('imported_from') |
ReferenceKind.AddSharedProperty('fields') |
@@ -214,6 +215,7 @@ class Struct(ReferenceKind): |
spec = None |
ReferenceKind.__init__(self, spec) |
self.name = name |
+ self.native_only = False |
self.module = module |
self.imported_from = None |
self.fields = [] |