2021-08-08 04:08:33 +00:00
|
|
|
#ifndef Py_POSIXMODULE_H
|
|
|
|
#define Py_POSIXMODULE_H
|
2021-08-12 07:42:14 +00:00
|
|
|
#include "libc/calls/weirdtypes.h"
|
|
|
|
#include "third_party/python/Include/object.h"
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_START_
|
2021-08-08 04:08:33 +00:00
|
|
|
|
|
|
|
#ifndef Py_LIMITED_API
|
|
|
|
#ifndef MS_WINDOWS
|
2021-08-12 07:42:14 +00:00
|
|
|
PyObject *_PyLong_FromUid(uid_t);
|
|
|
|
PyObject *_PyLong_FromGid(gid_t);
|
|
|
|
int _Py_Uid_Converter(PyObject *, void *);
|
|
|
|
int _Py_Gid_Converter(PyObject *, void *);
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif /* MS_WINDOWS */
|
|
|
|
#endif
|
|
|
|
|
2021-08-10 17:26:13 +00:00
|
|
|
COSMOPOLITAN_C_END_
|
2021-08-08 04:08:33 +00:00
|
|
|
#endif /* !Py_POSIXMODULE_H */
|