1 #ifndef Py_ALLOBJECTS_H
2 #define Py_ALLOBJECTS_H
3 /* Since this is a "meta-include" file, no #ifdef __cplusplus / extern "C" { */
5 /***********************************************************
6 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
11 Permission to use, copy, modify, and distribute this software and its
12 documentation for any purpose and without fee is hereby granted,
13 provided that the above copyright notice appear in all copies and that
14 both that copyright notice and this permission notice appear in
15 supporting documentation, and that the names of Stichting Mathematisch
16 Centrum or CWI not be used in advertising or publicity pertaining to
17 distribution of the software without specific, written prior permission.
19 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
20 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
21 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
22 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
23 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
24 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
25 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
27 ******************************************************************/
29 /* Include nearly all Python header files */
35 /* config.h may or may not define DL_IMPORT */
36 #ifndef DL_IMPORT /* declarations for DLL import/export */
37 #define DL_IMPORT(RTYPE) RTYPE
40 #ifdef SYMANTEC__CFM68K__
41 #define UsingSharedLibs
53 #ifdef SYMANTEC__CFM68K__
62 #include "accessobject.h"
63 #include "intobject.h"
64 #include "longobject.h"
65 #include "floatobject.h"
66 #ifndef WITHOUT_COMPLEX
67 #include "complexobject.h"
69 #include "rangeobject.h"
70 #include "stringobject.h"
71 #include "tupleobject.h"
72 #include "listobject.h"
73 #include "mappingobject.h"
74 #include "methodobject.h"
75 #include "moduleobject.h"
76 #include "funcobject.h"
77 #include "classobject.h"
78 #include "fileobject.h"
80 #include "traceback.h"
85 #include "modsupport.h"
87 #include "pythonrun.h"
88 #include "sysmodule.h"
89 #include "intrcheck.h"
91 #include "bltinmodule.h"
95 #define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
96 #define PyArg_NoArgs(v) PyArg_Parse(v, "")
98 /* Convert a possibly signed character to a nonnegative int */
99 /* XXX This assumes characters are 8 bits wide */
100 #ifdef __CHAR_UNSIGNED__
101 #define Py_CHARMASK(c) (c)
103 #define Py_CHARMASK(c) ((c) & 0xff)
106 #ifndef Py_USE_NEW_NAMES
110 #endif /* !Py_ALLOBJECTS_H */