summaryrefslogtreecommitdiffstats
path: root/PC/getpath_nt.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-22 20:45:28 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-22 20:45:28 (GMT)
commitc2d14176153038d568770f5499c8aa6a8c6a93fc (patch)
tree4953c7351a6ed7055ddba01cce43f805ebcc613f /PC/getpath_nt.c
parent39ed1c35e5df0e5d02402b966ef208412205e2bd (diff)
downloadcpython-c2d14176153038d568770f5499c8aa6a8c6a93fc.zip
cpython-c2d14176153038d568770f5499c8aa6a8c6a93fc.tar.gz
cpython-c2d14176153038d568770f5499c8aa6a8c6a93fc.tar.bz2
Added Py_GetProgramFullPath (same as GetProgramName)
Diffstat (limited to 'PC/getpath_nt.c')
-rw-r--r--PC/getpath_nt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/PC/getpath_nt.c b/PC/getpath_nt.c
index 189fc27..d960d15 100644
--- a/PC/getpath_nt.c
+++ b/PC/getpath_nt.c
@@ -194,3 +194,10 @@ Py_GetExecPrefix()
{
return EXEC_PREFIX;
}
+
+char *
+Py_GetProgramFullPath()
+{
+ extern char *Py_GetProgramName();
+ return Py_GetProgramName();
+}