Use py_resource module
[python/dscho.git] / Include / allobjects.h
blob03b6363a11000abd0d7caf7faad315fe3f836ec0
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,
7 The Netherlands.
9 All Rights Reserved
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 */
31 #ifdef HAVE_CONFIG_H
32 #include "config.h"
33 #endif
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
38 #endif
40 #ifdef SYMANTEC__CFM68K__
41 #define UsingSharedLibs
42 #endif
44 #include <stdio.h>
45 #include <string.h>
46 #include <errno.h>
47 #ifdef HAVE_STDLIB_H
48 #include <stdlib.h>
49 #endif
51 #include "myproto.h"
53 #ifdef SYMANTEC__CFM68K__
54 #pragma lib_export on
55 #endif
57 #include "object.h"
58 #include "objimpl.h"
60 #include "pydebug.h"
62 #include "accessobject.h"
63 #include "intobject.h"
64 #include "longobject.h"
65 #include "floatobject.h"
66 #ifndef WITHOUT_COMPLEX
67 #include "complexobject.h"
68 #endif
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"
79 #include "cobject.h"
80 #include "traceback.h"
82 #include "errors.h"
83 #include "mymalloc.h"
85 #include "modsupport.h"
86 #include "ceval.h"
87 #include "pythonrun.h"
88 #include "sysmodule.h"
89 #include "intrcheck.h"
90 #include "import.h"
91 #include "bltinmodule.h"
93 #include "abstract.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)
102 #else
103 #define Py_CHARMASK(c) ((c) & 0xff)
104 #endif
106 #ifndef Py_USE_NEW_NAMES
107 #include "rename2.h"
108 #endif
110 #endif /* !Py_ALLOBJECTS_H */