mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +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,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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue