| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-06-19 15:01:51 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-06-19 15:01:51 UTC |
| parent | a564511f869561b1972a878486a6983ab4c01465 |
| snikket/Stanza.hx | +4 | -2 |
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<Stanza>) { + @:allow(snikket) + private function addChildren(children:Iterable<Stanza>) { for (child in children) { addChild(child); } return this; } - public function addChildNodes(children:Iterable<Node>) { + @:allow(snikket) + private function addChildNodes(children:Iterable<Node>) { for (child in children) { addDirectChild(child); }