summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorgenotrance <dev@genotrance.com>2018-04-12 06:59:14 -0500
committerAndreas Rumpf <rumpf_a@web.de>2018-04-12 13:59:14 +0200
commitc3cc52087fb46e7898e9099945667204e40befbc (patch)
treef655aaebac559f680d8d02431ae996e55ab23c17 /lib/core
parent84982e5e1787d0b3c36ae185c5c75f7764543054 (diff)
downloadNim-c3cc52087fb46e7898e9099945667204e40befbc.tar.gz
Added a few useful os calls to VM (#7440)
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/macros.nim4
1 files changed, 4 insertions, 0 deletions
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
+