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/structmember.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/structmember.h')
-rw-r--r-- | Include/structmember.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/structmember.h b/Include/structmember.h index 50589fa..0c00856 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 } |