Added a few useful os calls to VM (#7440)

This commit is contained in:
genotrance 2018-04-12 06:59:14 -05:00 • committed by Andreas Rumpf
commit c3cc52087f
4 changed files with 57 additions and 24 deletions

View file

@ -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