annotate Include/rename2.h @ 5817:48b94de85bf3 legacy-trunk

Extensive changes by AMK.
author Guido van Rossum <guido@python.org>
date Thu, 17 Jul 1997 16:29:42 +0000
parents 20c2b715188e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
1 #ifndef Py_OLDNAMES_H
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
2 #define Py_OLDNAMES_H
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 #ifdef __cplusplus
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 extern "C" {
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 #endif
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
6
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 /***********************************************************
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 The Netherlands.
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
10
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 All Rights Reserved
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
12
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
13 Permission to use, copy, modify, and distribute this software and its
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
14 documentation for any purpose and without fee is hereby granted,
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 provided that the above copyright notice appear in all copies and that
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
16 both that copyright notice and this permission notice appear in
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 supporting documentation, and that the names of Stichting Mathematisch
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
18 Centrum or CWI or Corporation for National Research Initiatives or
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
19 CNRI not be used in advertising or publicity pertaining to
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
20 distribution of the software without specific, written prior
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
21 permission.
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
22
4503
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
23 While CWI is the initial source for this software, a modified version
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
24 is made available by the Corporation for National Research Initiatives
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
25 (CNRI) at the Internet address ftp://ftp.python.org.
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
26
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
27 STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
28 REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
29 MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
30 CENTRUM OR CNRI BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
31 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
32 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
33 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
65d2d8e67da3 New permission notice, includes CNRI.
Guido van Rossum <guido@python.org>
parents: 3763
diff changeset
34 PERFORMANCE OF THIS SOFTWARE.
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
35
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
36 ******************************************************************/
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
37
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 /* This file contains a bunch of #defines that make it possible to use
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 "old style" names (e.g. object) with the new style Python source
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 distribution. */
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
41
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 #define True Py_True
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 #define False Py_False
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 #define None Py_None
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
45
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 /* typedef ANY *PyUnivPtr; */
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
47 #define methodlist PyMethodDef
2256
d091b246a3a7 added findmethodinchain and methodchain data types
Guido van Rossum <guido@python.org>
parents: 2146
diff changeset
48 #define methodchain PyMethodChain
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
49
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 #define Accesstype PyAccess_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 #define is_accessobject PyAccess_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 #define newaccessobject PyAccess_FromValue
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 #define getaccessvalue PyAccess_AsValue
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 #define setaccessvalue PyAccess_SetValue
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
55 #define setaccessowner PyAccess_SetOwner
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
56 #define cloneaccessobject PyAccess_Clone
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
57 #define hasaccessvalue PyAccess_HasValue
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
58 #define Anynumbertype PyAnyNumber_Type
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
59 #define Anysequencetype PyAnySequence_Type
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
60 #define Anymappingtype PyAnyMapping_Type
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
61
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
62 #define FalseObject _Py_ZeroStruct
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
63 #define NoObject _Py_NoneStruct
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
64 #define TrueObject _Py_TrueStruct
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
65 #define debugging Py_DebugFlag
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
66 #define gram _PyParser_Grammar
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
67 #define threads_started _PyThread_Started
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
68 #define tok_name _PyParser_TokenNames
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
69 #define verbose Py_VerboseFlag
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
70 #define suppress_print Py_SuppressPrintingFlag
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
71 #define AccessError PyExc_AccessError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
72 #define AttributeError PyExc_AttributeError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
73 #define ConflictError PyExc_ConflictError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
74 #define EOFError PyExc_EOFError
5117
2bb0bda1585c Changes for Lee Busby's SIGFPE patch set.
Guido van Rossum <guido@python.org>
parents: 4503
diff changeset
75 #define FloatingPointError PyExc_FloatingPointError
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
76 #define IOError PyExc_IOError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
77 #define ImportError PyExc_ImportError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
78 #define IndexError PyExc_IndexError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
79 #define KeyError PyExc_KeyError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
80 #define MemoryError PyExc_MemoryError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
81 #define NameError PyExc_NameError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
82 #define OverflowError PyExc_OverflowError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
83 #define RuntimeError PyExc_RuntimeError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
84 #define SyntaxError PyExc_SyntaxError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
85 #define SystemError PyExc_SystemError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
86 #define TypeError PyExc_TypeError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
87 #define ValueError PyExc_ValueError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
88 #define ZeroDivisionError PyExc_ZeroDivisionError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
89 #define KeyboardInterrupt PyExc_KeyboardInterrupt
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
90 #define SystemExit PyExc_SystemExit
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
91 #define Floattype PyFloat_Type
3319
32b4e8adebeb changes for complex numbers
Guido van Rossum <guido@python.org>
parents: 3127
diff changeset
92 #define Complextype PyComplex_Type
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
93 #define Inttype PyInt_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
94 #define Longtype PyLong_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
95 #define Notype PyNothing_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
96 #define Stringtype PyString_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
97 #define Typetype PyType_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
98 #define Listtype PyList_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
99 #define Dicttype PyDict_Type
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
100 #define Mappingtype PyDict_Type
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
101 #define Tupletype PyTuple_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
102 #define Filetype PyFile_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
103 #define Classtype PyClass_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
104 #define Functype PyFunction_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
105 #define Instancemethodtype PyMethod_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
106 #define Instancetype PyInstance_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
107 #define Methodtype PyCFunction_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
108 #define Moduletype PyModule_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
109 #define Codetype PyCode_Type
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
110 #define Frametype PyFrame_Type
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
111 #define Rangetype PyRange_Type
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
112 #define floatobject PyFloatObject
3319
32b4e8adebeb changes for complex numbers
Guido van Rossum <guido@python.org>
parents: 3127
diff changeset
113 #define complexobject PyComplexObject
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
114 #define intobject PyIntObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
115 #define longobject PyLongObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
116 #define noobject PyNothingObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
117 #define object PyObject
5535
20c2b715188e Oops, another forgotten renaming: varobject -> PyVarObject.
Guido van Rossum <guido@python.org>
parents: 5402
diff changeset
118 #define varobject PyVarObject
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
119 #define stringobject PyStringObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
120 #define typeobject PyTypeObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
121 #define listobject PyListObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
122 #define dictobject PyDictObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
123 #define tupleobject PyTupleObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
124 #define fileobject PyFileObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
125 #define classobject PyClassObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
126 #define codeobject PyCodeObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
127 #define frameobject PyFrameObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
128 #define funcobject PyFunctionObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
129 #define instancemethodobject PyMethodObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
130 #define instanceobject PyInstanceObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
131 #define methodobject PyCFunctionObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
132 #define moduleobject PyModuleObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
133 #define number_methods PyNumberMethods
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
134 #define sequence_methods PySequenceMethods
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
135 #define mapping_methods PyMappingMethods
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
136 #define OB_HEAD PyObject_HEAD
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
137 #define OB_VARHEAD PyObject_VAR_HEAD
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
138 #define OB_HEAD_INIT PyObject_HEAD_INIT
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
139 #define NEWOBJ PyObject_NEW
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
140 #define NEWVAROBJ PyObject_NEW_VAR
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
141 #define PROTO Py_PROTO
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
142 #define FPROTO Py_FPROTO
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
143 #define NEW PyMem_NEW
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
144 #define RESIZE PyMem_RESIZE
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
145 #define DEL PyMem_DEL
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
146 #define XDEL PyMem_XDEL
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
147 #define BGN_SAVE Py_BEGIN_ALLOW_THREADS
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
148 #define RET_SAVE Py_BLOCK_THREADS
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
149 #define RES_SAVE Py_UNBLOCK_THREADS
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
150 #define END_SAVE Py_END_ALLOW_THREADS
2292
01a954124577 added callable, removed run_pyc_file
Guido van Rossum <guido@python.org>
parents: 2256
diff changeset
151 #define callable PyCallable_Check
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
152 #define is_floatobject PyFloat_Check
3319
32b4e8adebeb changes for complex numbers
Guido van Rossum <guido@python.org>
parents: 3127
diff changeset
153 #define is_complexobject PyComplex_Check
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
154 #define is_intobject PyInt_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
155 #define is_longobject PyLong_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
156 #define is_stringobject PyString_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
157 #define is_typeobject PyType_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
158 #define is_listobject PyList_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
159 #define is_dictobject PyDict_Check
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
160 #define is_mappingobject PyDict_Check
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
161 #define is_tupleobject PyTuple_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
162 #define is_fileobject PyFile_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
163 #define is_classobject PyClass_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
164 #define is_codeobject PyCode_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
165 #define is_frameobject PyFrame_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
166 #define is_funcobject PyFunction_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
167 #define is_instancemethodobject PyMethod_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
168 #define is_instanceobject PyInstance_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
169 #define is_methodobject PyCFunction_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
170 #define is_moduleobject PyModule_Check
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
171 #define INCREF Py_INCREF
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
172 #define DECREF Py_DECREF
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
173 #define XINCREF Py_XINCREF
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
174 #define XDECREF Py_XDECREF
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
175 #define NEWREF _Py_NewReference
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
176 #define DELREF _Py_Dealloc
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
177 #define UNREF _Py_ForgetReference
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
178 #define cmpobject PyObject_Compare
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
179 #define getattr PyObject_GetAttrString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
180 #define getattro PyObject_GetAttr
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
181 #define hasattr PyObject_HasAttrString
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
182 #define hasattro PyObject_HasAttr
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
183 #define hashobject PyObject_Hash
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
184 #define newobject _PyObject_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
185 #define newvarobject _PyObject_NewVar
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
186 #define printobject PyObject_Print
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
187 #define reprobject PyObject_Repr
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
188 #define strobject PyObject_Str
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
189 #define setattr PyObject_SetAttrString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
190 #define setattro PyObject_SetAttr
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
191 #define testbool PyObject_IsTrue
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
192 #define PRINT_RAW Py_PRINT_RAW
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
193 #define float_buf_repr PyFloat_AsString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
194 #define getfloatvalue PyFloat_AsDouble
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
195 #define GETFLOATVALUE PyFloat_AS_DOUBLE
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
196 #define newfloatobject PyFloat_FromDouble
3319
32b4e8adebeb changes for complex numbers
Guido van Rossum <guido@python.org>
parents: 3127
diff changeset
197 #define newcomplexobject PyComplex_FromCComplex
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
198 #define getintvalue PyInt_AsLong
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
199 #define GETINTVALUE PyInt_AS_LONG
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
200 #define getmaxint PyInt_GetMax
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
201 #define newintobject PyInt_FromLong
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
202 #define alloclongobject _PyLong_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
203 #define dgetlongvalue PyLong_AsDouble
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
204 #define dnewlongobject PyLong_FromDouble
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
205 #define getlongvalue PyLong_AsLong
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
206 #define long_escan PyLong_FromString
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
207 #define long_scan(a, b) PyLong_FromString((a), (char **)0, (b))
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
208 #define newlongobject PyLong_FromLong
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
209 #define formatstring PyString_Format
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
210 #define getstringsize PyString_Size
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
211 #define getstringvalue PyString_AsString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
212 #define GETSTRINGVALUE PyString_AS_STRING
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
213 #define joinstring PyString_Concat
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
214 #define joinstring_decref PyString_ConcatAndDel
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
215 #define newsizedstringobject PyString_FromStringAndSize
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
216 #define newstringobject PyString_FromString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
217 #define resizestring _PyString_Resize
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
218 #define addlistitem PyList_Append
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
219 #define getlistitem PyList_GetItem
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
220 #define GETLISTITEM PyList_GET_ITEM
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
221 #define getlistsize PyList_Size
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
222 #define getlistslice PyList_GetSlice
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
223 #define inslistitem PyList_Insert
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
224 #define newlistobject PyList_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
225 #define setlistitem PyList_SetItem
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
226 #define setlistslice PyList_SetSlice
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
227 #define sortlist PyList_Sort
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
228 #define reverselist PyList_Reverse
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
229 #define listtuple PyList_AsTuple
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
230 #define dictinsert PyDict_SetItemString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
231 #define dictlookup PyDict_GetItemString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
232 #define dictremove PyDict_DelItemString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
233 #define getmappingitems PyDict_Items
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
234 #define getdictitems PyDict_Items
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
235 #define getmappingkeys PyDict_Keys
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
236 #define getdictkeys PyDict_Keys
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
237 #define getmappingvalues PyDict_Values
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
238 #define getdictvalues PyDict_Values
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
239 #define getmappingsize PyDict_Size
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
240 #define getdictsize PyDict_Size
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
241 #define mappingclear PyDict_Clear
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
242 #define mappinggetnext PyDict_Next
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
243 #define mappinginsert PyDict_SetItem
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
244 #define dict2insert PyDict_SetItem
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
245 #define mappinglookup PyDict_GetItem
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
246 #define dict2lookup PyDict_GetItem
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
247 #define mappingremove PyDict_DelItem
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
248 #define dict2remove PyDict_DelItem
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
249 #define newmappingobject PyDict_New
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
250 #define newdictobject PyDict_New
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
251 #define gettupleitem PyTuple_GetItem
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
252 #define GETTUPLEITEM PyTuple_GET_ITEM
2500
f217c1b27f86 addet SETTUPLEITEM and added cast to GETTUPLEITEM
Guido van Rossum <guido@python.org>
parents: 2348
diff changeset
253 #define SETTUPLEITEM PyTuple_SET_ITEM
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
254 #define gettuplesize PyTuple_Size
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
255 #define gettupleslice PyTuple_GetSlice
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
256 #define newtupleobject PyTuple_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
257 #define settupleitem PyTuple_SetItem
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
258 #define resizetuple _PyTuple_Resize
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
259 #define filegetline PyFile_GetLine
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
260 #define getfilefile PyFile_AsFile
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
261 #define getfilename PyFile_Name
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
262 #define setfilebufsize PyFile_SetBufSize
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
263 #define newfileobject PyFile_FromString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
264 #define newopenfileobject PyFile_FromFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
265 #define softspace PyFile_SoftSpace
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
266 #define writeobject PyFile_WriteObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
267 #define writestring PyFile_WriteString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
268 #define instancemethodgetclass PyMethod_Class
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
269 #define instancemethodgetfunc PyMethod_Function
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
270 #define instancemethodgetself PyMethod_Self
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
271 #define issubclass PyClass_IsSubclass
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
272 #define newclassobject PyClass_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
273 #define newinstancemethodobject PyMethod_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
274 #define newinstanceobject PyInstance_New
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
275 #define instancebinop PyInstance_DoBinOp
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
276 #define block PyTryBlock
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
277 #define extend_stack PyFrame_ExtendStack
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
278 #define newframeobject PyFrame_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
279 #define pop_block PyFrame_BlockPop
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
280 #define setup_block PyFrame_BlockSetup
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
281 #define fast_2_locals PyFrame_FastToLocals
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
282 #define locals_2_fast PyFrame_LocalsToFast
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
283 #define getfunccode PyFunction_GetCode
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
284 #define getfuncglobals PyFunction_GetGlobals
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
285 #define getfuncargstuff PyFunction_GetArgStuff
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
286 #define setfuncargstuff PyFunction_SetArgStuff
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
287 #define mystrtol PyOS_strtol
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
288 #define mystrtoul PyOS_strtoul
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
289 #define newfuncobject PyFunction_New
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
290 #define newrangeobject PyRange_New
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
291 #define method PyCFunction
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
292 #define findmethod Py_FindMethod
2256
d091b246a3a7 added findmethodinchain and methodchain data types
Guido van Rossum <guido@python.org>
parents: 2146
diff changeset
293 #define findmethodinchain Py_FindMethodInChain
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
294 #define getmethod PyCFunction_GetFunction
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
295 #define getself PyCFunction_GetSelf
2863
10e007aef1cf changes for keyword args to built-in functions and classes
Guido van Rossum <guido@python.org>
parents: 2698
diff changeset
296 #define getflags PyCFunction_GetFlags
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
297 #define newmethodobject PyCFunction_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
298 #define getmoduledict PyModule_GetDict
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
299 #define getmodulename PyModule_GetName
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
300 #define newmoduleobject PyModule_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
301 #define addaccelerators PyGrammar_AddAccelerators
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
302 #define finddfa PyGrammar_FindDFA
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
303 #define labelrepr PyGrammar_LabelRepr
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
304 #define listtree PyNode_ListTree
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
305 #define addchild PyNode_AddChild
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
306 #define freetree PyNode_Free
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
307 #define newtree PyNode_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
308 #define addtoken PyParser_AddToken
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
309 #define delparser PyParser_Delete
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
310 #define newparser PyParser_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
311 #define parsefile PyParser_ParseFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
312 #define parsestring PyParser_ParseString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
313 #define tok_1char PyToken_OneChar
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
314 #define tok_2char PyToken_TwoChars
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
315 #define tok_free PyTokenizer_Free
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
316 #define tok_get PyTokenizer_Get
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
317 #define tok_setupf PyTokenizer_FromFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
318 #define tok_setups PyTokenizer_FromString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
319 #define compile PyNode_Compile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
320 #define newcodeobject PyCode_New
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
321 #define call_object PyEval_CallObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
322 #define eval_code PyEval_EvalCode
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
323 #define flushline Py_FlushLine
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
324 #define getbuiltins PyEval_GetBuiltins
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
325 #define getglobals PyEval_GetGlobals
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
326 #define getlocals PyEval_GetLocals
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
327 #define getowner PyEval_GetOwner
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
328 #define getframe PyEval_GetFrame
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
329 #define getrestricted PyEval_GetRestricted
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
330 #define init_save_thread PyEval_InitThreads
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
331 #define printtraceback PyErr_PrintTraceBack
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
332 #define restore_thread PyEval_RestoreThread
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
333 #define save_thread PyEval_SaveThread
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
334 #define tb_fetch PyTraceBack_Fetch
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
335 #define tb_here PyTraceBack_Here
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
336 #define tb_print PyTraceBack_Print
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
337 #define tb_store PyTraceBack_Store
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
338 #define add_module PyImport_AddModule
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
339 #define doneimport PyImport_Cleanup
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
340 #define get_modules PyImport_GetModuleDict
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
341 #define get_pyc_magic PyImport_GetMagicNumber
2348
ed486461def6 exec_dode_object/PyImport_ExecCodeObject is now externally visible
Jack Jansen <jack.jansen@cwi.nl>
parents: 2292
diff changeset
342 #define exec_code_module PyImport_ExecCodeModule
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
343 #define import_module PyImport_ImportModule
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
344 #define init_frozen PyImport_ImportFrozenModule
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
345 #define initimport PyImport_Init
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
346 #define reload_module PyImport_ReloadModule
3682
9466eabb669a frozen_modules is now officially part of the API, remove _ from new name.
Guido van Rossum <guido@python.org>
parents: 3619
diff changeset
347 #define frozen_modules PyImport_FrozenModules
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
348 #define coerce PyNumber_Coerce
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
349 #define getbuiltin PyBuiltin_GetObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
350 #define initbuiltin PyBuiltin_Init
3572
6be365a673b1 Removed TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
Guido van Rossum <guido@python.org>
parents: 3319
diff changeset
351 #define getbuiltindict PyBuiltin_GetDict
6be365a673b1 Removed TRACE_REFS and REF_DEBUG b/w compat hacks -- they don't work.
Guido van Rossum <guido@python.org>
parents: 3319
diff changeset
352 #define getbuiltinmod PyBuiltin_GetModule
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
353 #define initmarshal PyMarshal_Init
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
354 #define initmodule Py_InitModule
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
355 #define initmodule4 Py_InitModule4
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
356 #define rd_long PyMarshal_ReadLongFromFile
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
357 #define rd_short PyMarshal_ReadShortFromFile
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
358 #define rd_object PyMarshal_ReadObjectFromFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
359 #define rds_object PyMarshal_ReadObjectFromString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
360 #define wr_long PyMarshal_WriteLongToFile
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
361 #define wr_short PyMarshal_WriteShortToFile
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
362 #define wr_object PyMarshal_WriteObjectToFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
363 #define initsys PySys_Init
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
364 #define setpythonargv PySys_SetArgv
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
365 #define setpythonpath PySys_SetPath
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
366 #define sysget PySys_GetObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
367 #define sysgetfile PySys_GetFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
368 #define sysset PySys_SetObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
369 #define compile_string Py_CompileString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
370 #define fatal Py_FatalError
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
371 #define goaway Py_Exit
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
372 #define cleanup Py_Cleanup
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
373 #define initall Py_Initialize
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
374 #define print_error PyErr_Print
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
375 #define parse_file PyParser_SimpleParseFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
376 #define parse_string PyParser_SimpleParseString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
377 #define run PyRun_AnyFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
378 #define run_script PyRun_SimpleFile
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
379 #define run_command PyRun_SimpleString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
380 #define run_file PyRun_File
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
381 #define run_string PyRun_String
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
382 #define run_tty_1 PyRun_InteractiveOne
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
383 #define run_tty_loop PyRun_InteractiveLoop
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
384 #define getmember PyMember_Get
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
385 #define setmember PyMember_Set
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
386 #define mkvalue Py_BuildValue
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
387 #define vmkvalue Py_VaBuildValue
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
388 #define getargs PyArg_Parse
5365
b7ca98c6dbbd Remove macros that are only used for cgensupport.[ch].
Guido van Rossum <guido@python.org>
parents: 5198
diff changeset
389 #define vgetargs PyArg_VaParse
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
390 #define newgetargs PyArg_ParseTuple
5365
b7ca98c6dbbd Remove macros that are only used for cgensupport.[ch].
Guido van Rossum <guido@python.org>
parents: 5198
diff changeset
391 #define getnoarg(v) PyArg_Parse((v), "")
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
392 #define getintarg(v,a) getargs((v),"i",(a))
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
393 #define getlongarg(v,a) getargs((v),"l",(a))
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
394 #define getstrarg(v,a) getargs((v),"s",(a))
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
395 #define err_badarg PyErr_BadArgument
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
396 #define err_badcall PyErr_BadInternalCall
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
397 #define err_nomem PyErr_NoMemory
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
398 #define err_errno PyErr_SetFromErrno
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
399 #define err_set PyErr_SetNone
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
400 #define err_setstr PyErr_SetString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
401 #define err_setval PyErr_SetObject
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
402 #define err_occurred PyErr_Occurred
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
403 #define err_fetch PyErr_Fetch
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
404 #define err_restore PyErr_Restore
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
405 #define err_clear PyErr_Clear
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
406 #define fgets_intr PyOS_InterruptableGetString
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
407 #define initintr PyOS_InitInterrupts
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
408 #define intrcheck PyOS_InterruptOccurred
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
409 #define getmtime PyOS_GetLastModificationTime
2146
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
410 #define my_readline PyOS_Readline
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
411 #define realmain Py_Main
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
412 #define ref_total _Py_RefTotal
9afdbf944c2a new names for lots of new functions
Guido van Rossum <guido@python.org>
parents: 2129
diff changeset
413 #define sigcheck PyErr_CheckSignals
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
414
3614
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
415 /* Misc. stuff */
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
416 #define getcompiler Py_GetCompiler
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
417 #define getcopyright Py_GetCopyright
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
418 #define getplatform Py_GetPlatform
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
419 #define getversion Py_GetVersion
3619
ef759669aa04 Added Py_GetPath (getpythonpath)
Guido van Rossum <guido@python.org>
parents: 3614
diff changeset
420 #define getpythonpath Py_GetPath
3763
bb4cc3fa6000 added new names for getprogramname, getargcargv
Guido van Rossum <guido@python.org>
parents: 3682
diff changeset
421 #define getprogramname Py_GetProgramName
bb4cc3fa6000 added new names for getprogramname, getargcargv
Guido van Rossum <guido@python.org>
parents: 3682
diff changeset
422 #define getargcargv Py_GetArgcArgv
3614
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
423
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
424 /* Misc. Internals */
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
425 #define askyesno _Py_AskYesNo
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
426 #define import_filetab _PyImport_Filetab
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
427 #define import_maxsuffixsize _PyImport_MaxSuffixSize
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
428 #define load_dynamic_module _PyImport_LoadDynamicModule
5366
87313333ae3f Added new name for inittab!
Guido van Rossum <guido@python.org>
parents: 5365
diff changeset
429 #define inittab _PyImport_Inittab
3614
323165cb1fa5 rename more symbols
Guido van Rossum <guido@python.org>
parents: 3572
diff changeset
430
2129
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
431 #ifdef __cplusplus
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
432 }
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
433 #endif
05360cd616ae The great renaming, phase two: all header files have been updated to
Guido van Rossum <guido@python.org>
parents:
diff changeset
434 #endif /* !Py_OLDNAMES_H */