mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
python-3.6.zip added from Github
README.cosmo contains the necessary links.
This commit is contained in:
parent
75fc601ff5
commit
0c4c56ff39
4219 changed files with 1968626 additions and 0 deletions
25
third_party/python/Modules/posixmodule.h
vendored
Normal file
25
third_party/python/Modules/posixmodule.h
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* Declarations shared between the different POSIX-related modules */
|
||||
|
||||
#ifndef Py_POSIXMODULE_H
|
||||
#define Py_POSIXMODULE_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifndef Py_LIMITED_API
|
||||
#ifndef MS_WINDOWS
|
||||
PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);
|
||||
PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
|
||||
PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
|
||||
PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
|
||||
#endif /* MS_WINDOWS */
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* !Py_POSIXMODULE_H */
|
Loading…
Add table
Add a link
Reference in a new issue