summaryrefslogtreecommitdiff
path: root/Include/structmember.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-12 11:45:45 +0000
committerGuido van Rossum <guido@python.org>1995-01-12 11:45:45 +0000
commita78baca8eb70be1e0781f53cef102841599aa2cf (patch)
treef978b830e2ab3b640284b2a7b6b280cde1d05d5e /Include/structmember.h
parent3f192cbb1166f22cdf4757df493fe9e79091c13f (diff)
downloadcpython-a78baca8eb70be1e0781f53cef102841599aa2cf.tar.gz
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/structmember.h')
-rw-r--r--Include/structmember.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 50589faaba..0c008561a8 100644
--- a/Include/structmember.h
+++ b/Include/structmember.h
@@ -46,7 +46,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
/* An array of memberlist structures defines the name, type and offset
of selected members of a C structure. These can be read by
- getmember() and set by setmember() (except if their READONLY flag
+ PyMember_Get() and set by PyMember_Set() (except if their READONLY flag
is set). The array must be terminated with an entry whose name
pointer is NULL. */
@@ -85,8 +85,8 @@ struct memberlist {
#define READONLY 1
#define RO READONLY /* Shorthand */
-object *getmember PROTO((char *, struct memberlist *, char *));
-int setmember PROTO((char *, struct memberlist *, char *, object *));
+PyObject *PyMember_Get Py_PROTO((char *, struct memberlist *, char *));
+int PyMember_Set Py_PROTO((char *, struct memberlist *, char *, PyObject *));
#ifdef __cplusplus
}