source: python/vendor/Python-2.7.6/Modules/posixmodule.h

Last change on this file was 388, checked in by dmik, 11 years ago

python: Update vendor to 2.7.6.

  • Property svn:eol-style set to native
File size: 551 bytes
Line 
1/* Declarations shared between the different POSIX-related modules */
2
3#ifndef Py_POSIXMODULE_H
4#define Py_POSIXMODULE_H
5#ifdef __cplusplus
6extern "C" {
7#endif
8
9#ifdef HAVE_SYS_TYPES_H
10#include <sys/types.h>
11#endif
12
13#ifndef Py_LIMITED_API
14#ifndef MS_WINDOWS
15PyAPI_FUNC(PyObject *) _PyInt_FromUid(uid_t);
16PyAPI_FUNC(PyObject *) _PyInt_FromGid(gid_t);
17PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
18PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
19#endif /* MS_WINDOWS */
20#endif
21
22#ifdef __cplusplus
23}
24#endif
25#endif /* !Py_POSIXMODULE_H */
Note: See TracBrowser for help on using the repository browser.