Index: Source/bindings/templates/interface_base.cpp |
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
index 747b8eb6483bb4b513aee27edc1a560e134f086f..34520c6a0af9769391180243d1f4581f2926ecfa 100644 |
--- a/Source/bindings/templates/interface_base.cpp |
+++ b/Source/bindings/templates/interface_base.cpp |
@@ -37,6 +37,12 @@ namespace {{cpp_class}}V8Internal { |
template <typename T> void V8_USE(T) { } |
+{# Constants #} |
+{% from 'constants.cpp' import constant_getter_callback |
+ with context %} |
+{% for constant in special_getter_constants %} |
+{{constant_getter_callback(constant)}} |
+{% endfor %} |
{# Attributes #} |
{% from 'attributes.cpp' import constructor_getter_callback, |
attribute_getter, attribute_getter_callback, |