blob: 0acee93c2929a29e7b07762faf908127bfbba0d4 [file] [log] [blame]
Guido van Rossuma3309961993-07-28 09:05:47 +00001#ifndef Py_ALLOBJECTS_H
2#define Py_ALLOBJECTS_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
Guido van Rossumf70e43a1991-02-19 12:39:46 +00007/***********************************************************
Guido van Rossumb6775db1994-08-01 11:34:53 +00008Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
Guido van Rossum34679b71993-01-26 13:33:44 +00009Amsterdam, The Netherlands.
Guido van Rossumf70e43a1991-02-19 12:39:46 +000010
11 All Rights Reserved
12
13Permission to use, copy, modify, and distribute this software and its
14documentation for any purpose and without fee is hereby granted,
15provided that the above copyright notice appear in all copies and that
16both that copyright notice and this permission notice appear in
17supporting documentation, and that the names of Stichting Mathematisch
18Centrum or CWI not be used in advertising or publicity pertaining to
19distribution of the software without specific, written prior permission.
20
21STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
22THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
23FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
24FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
25WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
26ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
27OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
28
29******************************************************************/
30
Guido van Rossuma7152741994-08-19 11:16:32 +000031/* Include nearly all Python header files */
Guido van Rossum3f5da241990-12-20 15:06:42 +000032
Guido van Rossume89bc751994-08-18 16:18:13 +000033/* 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.
37*/
38#define DL_IMPORT /* Save lots of #else/#if's */
39#ifdef USE_DL_IMPORT
40#ifdef NT
41#undef DL_IMPORT
42#define DL_IMPORT __declspec(dllimport)
43#endif /* NT */
44#endif /* USE_DL_IMPORT */
45
Guido van Rossumb6775db1994-08-01 11:34:53 +000046#ifdef HAVE_CONFIG_H
47#include "config.h"
48#endif
49
Guido van Rossum3f5da241990-12-20 15:06:42 +000050#include <stdio.h>
Guido van Rossumd05c4b21990-12-20 23:02:42 +000051#include <string.h>
Guido van Rossum3f5da241990-12-20 15:06:42 +000052
Guido van Rossumb6775db1994-08-01 11:34:53 +000053#include "myproto.h"
Guido van Rossum3f5da241990-12-20 15:06:42 +000054
55#include "object.h"
56#include "objimpl.h"
57
Guido van Rossum25831651993-05-19 14:50:45 +000058#include "accessobject.h"
Guido van Rossum3f5da241990-12-20 15:06:42 +000059#include "intobject.h"
Guido van Rossum9227c0e1991-05-05 20:00:02 +000060#include "longobject.h"
Guido van Rossum3f5da241990-12-20 15:06:42 +000061#include "floatobject.h"
Guido van Rossum12d12c51993-10-26 17:58:25 +000062#include "rangeobject.h"
Guido van Rossum3f5da241990-12-20 15:06:42 +000063#include "stringobject.h"
64#include "tupleobject.h"
65#include "listobject.h"
66#include "dictobject.h"
67#include "methodobject.h"
68#include "moduleobject.h"
69#include "funcobject.h"
70#include "classobject.h"
71#include "fileobject.h"
72
73#include "errors.h"
Guido van Rossum1e28e5e1992-08-19 16:46:30 +000074#include "mymalloc.h"
Guido van Rossum3f5da241990-12-20 15:06:42 +000075
Guido van Rossuma3309961993-07-28 09:05:47 +000076#include "modsupport.h"
77#include "ceval.h"
78
79#include "rename1.h"
80
Guido van Rossum559e55f1992-03-27 17:23:59 +000081extern void fatal PROTO((char *));
Guido van Rossuma3309961993-07-28 09:05:47 +000082
83#ifdef __cplusplus
84}
85#endif
86#endif /* !Py_ALLOBJECTS_H */