From 5f5782714dbdf0728ab8994759ed8d164d54dd38 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sat, 14 Nov 2020 13:56:00 -0700 Subject: [PATCH] Make list re-implemented methods public --- src/kiss/List.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kiss/List.hx b/src/kiss/List.hx index a90f1da4..fbd50d6f 100644 --- a/src/kiss/List.hx +++ b/src/kiss/List.hx @@ -36,17 +36,17 @@ abstract List(Array) from Array to Array { return v; } - function insert(idx:Int, v:T) { + public function insert(idx:Int, v:T) { this.insert(realIndex(idx), v); } - function slice(start:Int, ?end:Int) { + public function slice(start:Int, ?end:Int) { if (end == null) end = this.length; return this.slice(realIndex(start), realIndex(end)); } - function splice(start:Int, len:Int) { + public function splice(start:Int, len:Int) { return this.splice(realIndex(start), len); } }