Index: Source/bindings/scripts/utilities.py |
diff --git a/Source/bindings/scripts/utilities.py b/Source/bindings/scripts/utilities.py |
index 0aeabc20b3610e6fbef41af25430e1b57cd958e5..28beb17c94e8a842c10f7f4ddafa980f47ef0224 100644 |
--- a/Source/bindings/scripts/utilities.py |
+++ b/Source/bindings/scripts/utilities.py |
@@ -119,6 +119,11 @@ def is_callback_interface_from_idl(file_contents): |
return bool(match) |
+def is_dictionary_from_idl(file_contents): |
+ match = re.search(r'dictionary\s+\w+\s*{', file_contents) |
+ return bool(match) |
+ |
+ |
def get_parent_interface(file_contents): |
match = re.search(r'interface\s+' |
r'\w+\s*' |