diff options
author | Guido van Rossum <guido@python.org> | 1995-01-12 11:45:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-12 11:45:45 (GMT) |
commit | caa63808861d4e92d4dc1005fc01de0f2e4a8fd0 (patch) | |
tree | 3771531169ab510aca9b69cdc4d9de2b5c8810c4 /Include/accessobject.h | |
parent | 94390ec2a6ea5acbea9dead528ce067c396a0301 (diff) | |
download | cpython-caa63808861d4e92d4dc1005fc01de0f2e4a8fd0.zip cpython-caa63808861d4e92d4dc1005fc01de0f2e4a8fd0.tar.gz cpython-caa63808861d4e92d4dc1005fc01de0f2e4a8fd0.tar.bz2 |
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".
Diffstat (limited to 'Include/accessobject.h')
-rw-r--r-- | Include/accessobject.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Include/accessobject.h b/Include/accessobject.h index 975b0f0..8cf4120 100644 --- a/Include/accessobject.h +++ b/Include/accessobject.h @@ -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 } |