Index: Source/bindings/templates/interface_base.cpp |
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
index dce2cc91b8577df286da5bb2d8f2c8cdb6a756eb..725977707ce7796b1734706b86ac9730b0e67bf6 100644 |
--- a/Source/bindings/templates/interface_base.cpp |
+++ b/Source/bindings/templates/interface_base.cpp |
@@ -83,9 +83,13 @@ template <typename T> void V8_USE(T) { } |
{% block security_check_functions %}{% endblock %} |
{# Methods #} |
{% from 'methods.cpp' import generate_method, overload_resolution_method, |
- method_callback, origin_safe_method_getter, generate_constructor |
+ method_callback, origin_safe_method_getter, generate_constructor, |
+ method_implemented_in_private_script |
with context %} |
{% for method in methods %} |
+{% if method.is_implemented_in_private_script %} |
+{{method_implemented_in_private_script(method)}} |
+{% endif %} |
{% for world_suffix in method.world_suffixes %} |
{% if not method.is_custom %} |
{{generate_method(method, world_suffix)}} |