commit | 410ef8e23088ab2b8bd92ac70a8176f71da2b931 | [log] [tgz] |
---|---|---|
author | Ethan Furman <ethan@stoneleaf.us> | Sat Jun 04 12:06:26 2016 -0700 |
committer | Ethan Furman <ethan@stoneleaf.us> | Sat Jun 04 12:06:26 2016 -0700 |
tree | dceeb23e4a2dcddecc72e0bc6faa15a1177ab633 | |
parent | c55014f3717ce8a810a7e934c8ad5b519dbf88c5 [diff] [blame] |
issue27186: add C version of os.fspath(); patch by Jelle Zijlstra
diff --git a/Include/osmodule.h b/Include/osmodule.h new file mode 100644 index 0000000..7146757 --- /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 */