From 2cbcebe8102c4f8ea3ff3f7a571ecaf3e537cde4 Mon Sep 17 00:00:00 2001 From: James Gray Date: Tue, 29 Dec 2015 20:39:38 -0600 Subject: [PATCH] add lime.Lib.notImplemented --- lime/Lib.hx | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lime/Lib.hx diff --git a/lime/Lib.hx b/lime/Lib.hx new file mode 100644 index 000000000..e2a9a79d4 --- /dev/null +++ b/lime/Lib.hx @@ -0,0 +1,23 @@ +package lime; + + +class Lib { + + + @:noCompletion private static var __sentWarnings = new Map (); + + + public static function notImplemented (api:String):Void { + + if (!__sentWarnings.exists (api)) { + + __sentWarnings.set (api, true); + + trace ("Warning: " + api + " is not implemented"); + + } + + } + + +}