mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
The great renaming, phase two: all header files have been updated to
use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
This commit is contained in:
parent
94390ec2a6
commit
caa6380886
48 changed files with 982 additions and 579 deletions
|
@ -46,19 +46,19 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#define AC_R_PUBLIC 0004
|
||||
#define AC_W_PUBLIC 0002
|
||||
|
||||
extern DL_IMPORT typeobject Accesstype;
|
||||
extern DL_IMPORT PyTypeObject Accesstype;
|
||||
|
||||
#define is_accessobject(v) ((v)->ob_type == &Accesstype)
|
||||
#define PyAccess_Check(v) ((v)->ob_type == &Accesstype)
|
||||
|
||||
object *newaccessobject PROTO((object *, object *, typeobject *, int));
|
||||
object *getaccessvalue PROTO((object *, object *));
|
||||
int setaccessvalue PROTO((object *, object *, object *));
|
||||
PyObject *newaccessobject Py_PROTO((PyObject *, PyObject *, PyTypeObject *, int));
|
||||
PyObject *getaccessvalue Py_PROTO((PyObject *, PyObject *));
|
||||
int setaccessvalue Py_PROTO((PyObject *, PyObject *, PyObject *));
|
||||
|
||||
void setaccessowner PROTO((object *, object *));
|
||||
object *cloneaccessobject PROTO((object *));
|
||||
int hasaccessvalue PROTO((object *));
|
||||
void setaccessowner Py_PROTO((PyObject *, PyObject *));
|
||||
PyObject *cloneaccessobject Py_PROTO((PyObject *));
|
||||
int hasaccessvalue Py_PROTO((PyObject *));
|
||||
|
||||
extern DL_IMPORT typeobject Anynumbertype, Anysequencetype, Anymappingtype;
|
||||
extern DL_IMPORT PyTypeObject Anynumbertype, Anysequencetype, Anymappingtype;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue