Don't reference removed files in Makefile
[python/dscho.git] / Include / allobjects.h
blobb156e2e8be7dbd2f0f1da015a5067a50c0b24f86
1 #ifndef Py_ALLOBJECTS_H
2 #define Py_ALLOBJECTS_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
7 /***********************************************************
8 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
9 The Netherlands.
11 All Rights Reserved
13 Permission to use, copy, modify, and distribute this software and its
14 documentation for any purpose and without fee is hereby granted,
15 provided that the above copyright notice appear in all copies and that
16 both that copyright notice and this permission notice appear in
17 supporting documentation, and that the names of Stichting Mathematisch
18 Centrum or CWI not be used in advertising or publicity pertaining to
19 distribution of the software without specific, written prior permission.
21 STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
22 THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
23 FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
24 FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
25 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
26 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
27 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
29 ******************************************************************/
31 /* Include nearly all Python header files */
33 /* Some systems (well, NT anyway!) require special declarations for
34 data items imported from dynamic modules. Note that this defn is
35 only turned on for the modules built as DL modules, not for python
36 itself.
38 #define DL_IMPORT( RTYPE ) RTYPE /* Save lots of #else/#if's */
39 #ifdef USE_DL_IMPORT
40 #ifdef NT
41 #undef DL_IMPORT
42 #define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
43 #endif /* NT */
44 #ifdef __BORLANDC__
45 #undef DL_IMPORT
46 #define DL_IMPORT(RTYPE) RTYPE __import
47 #endif /* BORLANDC */
48 #endif /* USE_DL_IMPORT */
50 #ifdef HAVE_CONFIG_H
51 #include "config.h"
52 #endif
54 #ifdef __CFM68K__
55 #define UsingSharedLibs
56 #endif
58 #include <stdio.h>
59 #include <string.h>
60 #include <errno.h>
62 #include "myproto.h"
64 #ifdef __CFM68K__
65 #pragma lib_export on
66 #endif
68 #include "object.h"
69 #include "objimpl.h"
71 #include "accessobject.h"
72 #include "intobject.h"
73 #include "longobject.h"
74 #include "floatobject.h"
75 #include "rangeobject.h"
76 #include "stringobject.h"
77 #include "tupleobject.h"
78 #include "listobject.h"
79 #include "mappingobject.h"
80 #include "methodobject.h"
81 #include "moduleobject.h"
82 #include "funcobject.h"
83 #include "classobject.h"
84 #include "fileobject.h"
86 #include "errors.h"
87 #include "mymalloc.h"
89 #include "modsupport.h"
90 #include "ceval.h"
92 extern void Py_FatalError Py_PROTO((char *));
94 #define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
95 #define PyArg_NoArgs(v) PyArg_Parse(v, "")
97 /* Convert a possibly signed character to a nonnegative int */
98 /* XXX This assumes characters are 8 bits wide */
99 #ifdef __CHAR_UNSIGNED__
100 #define Py_CHARMASK(c) (c)
101 #else
102 #define Py_CHARMASK(c) ((c) & 0xff)
103 #endif
105 #ifdef __cplusplus
107 #endif
109 #ifndef Py_USE_NEW_NAMES
110 #include "rename2.h"
111 #endif
113 #endif /* !Py_ALLOBJECTS_H */