diff options
author | Ethan Furman <ethan@stoneleaf.us> | 2016-06-04 19:06:26 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2016-06-04 19:06:26 (GMT) |
commit | 410ef8e23088ab2b8bd92ac70a8176f71da2b931 (patch) | |
tree | dceeb23e4a2dcddecc72e0bc6faa15a1177ab633 /Include/osmodule.h | |
parent | c55014f3717ce8a810a7e934c8ad5b519dbf88c5 (diff) | |
download | cpython-410ef8e23088ab2b8bd92ac70a8176f71da2b931.zip cpython-410ef8e23088ab2b8bd92ac70a8176f71da2b931.tar.gz cpython-410ef8e23088ab2b8bd92ac70a8176f71da2b931.tar.bz2 |
issue27186: add C version of os.fspath(); patch by Jelle Zijlstra
Diffstat (limited to 'Include/osmodule.h')
-rw-r--r-- | Include/osmodule.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 */ |