From b2dcdafbebc1b79e1fb33ee1b01d2e388debe2a1 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 19 Jun 2024 10:01:51 -0500 Subject: [PATCH] These use types not available to the outside --- snikket/Stanza.hx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/snikket/Stanza.hx b/snikket/Stanza.hx index 06784fa..d29c324 100644 --- a/snikket/Stanza.hx +++ b/snikket/Stanza.hx @@ -133,14 +133,16 @@ class Stanza implements NodeInterface { return this; } - public function addChildren(children:Iterable) { + @:allow(snikket) + private function addChildren(children:Iterable) { for (child in children) { addChild(child); } return this; } - public function addChildNodes(children:Iterable) { + @:allow(snikket) + private function addChildNodes(children:Iterable) { for (child in children) { addDirectChild(child); }