From c3cc52087fb46e7898e9099945667204e40befbc Mon Sep 17 00:00:00 2001 From: genotrance Date: Thu, 12 Apr 2018 06:59:14 -0500 Subject: Added a few useful os calls to VM (#7440) --- lib/core/macros.nim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/core') diff --git a/lib/core/macros.nim b/lib/core/macros.nim index 9edaab237..3614cf71a 100644 --- a/lib/core/macros.nim +++ b/lib/core/macros.nim @@ -1293,3 +1293,7 @@ macro unpackVarargs*(callee: untyped; args: varargs[untyped]): untyped = result = newCall(callee) for i in 0 ..< args.len: result.add args[i] + +proc getProjectPath*(): string = discard + ## Returns the path to the currently compiling project + -- cgit 1.4.1-2-gfad0