diff options
author | Guido van Rossum <guido@python.org> | 1995-01-17 16:01:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-17 16:01:01 (GMT) |
commit | 938178283c29cdc2c8f5004d58dff110ac907883 (patch) | |
tree | 7d38251f32f2bb35f58e40aed465785f6f7039f4 /Include/accessobject.h | |
parent | 8e8a525f229ef6a9e1b881e9b71eda72dabd5007 (diff) | |
download | cpython-938178283c29cdc2c8f5004d58dff110ac907883.zip cpython-938178283c29cdc2c8f5004d58dff110ac907883.tar.gz cpython-938178283c29cdc2c8f5004d58dff110ac907883.tar.bz2 |
new names for lots of new functions
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 8cf4120..47f9895 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 PyTypeObject Accesstype; +extern DL_IMPORT PyTypeObject PyAccess_Type; -#define PyAccess_Check(v) ((v)->ob_type == &Accesstype) +#define PyAccess_Check(v) ((v)->ob_type == &PyAccess_Type) -PyObject *newaccessobject Py_PROTO((PyObject *, PyObject *, PyTypeObject *, int)); -PyObject *getaccessvalue Py_PROTO((PyObject *, PyObject *)); -int setaccessvalue Py_PROTO((PyObject *, PyObject *, PyObject *)); +PyObject *PyAccess_FromValue Py_PROTO((PyObject *, PyObject *, PyTypeObject *, int)); +PyObject *PyAccess_AsValue Py_PROTO((PyObject *, PyObject *)); +int PyAccess_SetValue Py_PROTO((PyObject *, PyObject *, PyObject *)); -void setaccessowner Py_PROTO((PyObject *, PyObject *)); -PyObject *cloneaccessobject Py_PROTO((PyObject *)); -int hasaccessvalue Py_PROTO((PyObject *)); +void PyAccess_SetOwner Py_PROTO((PyObject *, PyObject *)); +PyObject *PyAccess_Clone Py_PROTO((PyObject *)); +int PyAccess_HasValue Py_PROTO((PyObject *)); -extern DL_IMPORT PyTypeObject Anynumbertype, Anysequencetype, Anymappingtype; +extern DL_IMPORT PyTypeObject PyAnyNumber_Type, PyAnySequence_Type, PyAnyMapping_Type; #ifdef __cplusplus } |