From 410ef8e23088ab2b8bd92ac70a8176f71da2b931 Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Sat, 4 Jun 2016 12:06:26 -0700 Subject: issue27186: add C version of os.fspath(); patch by Jelle Zijlstra --- Include/osmodule.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Include/osmodule.h (limited to 'Include/osmodule.h') diff --git a/Include/osmodule.h b/Include/osmodule.h new file mode 100644 index 0000000000..71467577cb --- /dev/null +++ b/Include/osmodule.h @@ -0,0 +1,15 @@ + +/* os module interface */ + +#ifndef Py_OSMODULE_H +#define Py_OSMODULE_H +#ifdef __cplusplus +extern "C" { +#endif + +PyAPI_FUNC(PyObject *) PyOS_FSPath(PyObject *path); + +#ifdef __cplusplus +} +#endif +#endif /* !Py_OSMODULE_H */ -- cgit v1.2.1