[Python-checkins] python/dist/src/Include setobject.h, NONE, 2.1 Python.h, 2.57, 2.58

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Nov 16 11:17:50 EST 2003


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv13946/Include
Modified Files:
	Python.h 
Added Files:
	setobject.h 
Log Message:
* Migrate set() and frozenset() from the sandbox.
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.
Includes the docs for libfuncs.tex. Separate docs for the types are
forthcoming.
--- NEW FILE: setobject.h ---
/* Set object interface */
#ifndef Py_SETOBJECT_H
#define Py_SETOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif
/*
This data structure is shared by set and frozenset objects.
*/
typedef struct {
	PyObject_HEAD
	PyObject *data;
	long hash;	/* only used by frozenset objects */
} PySetObject;
PyAPI_DATA(PyTypeObject) PySet_Type;
PyAPI_DATA(PyTypeObject) PyFrozenSet_Type;
#ifdef __cplusplus
}
#endif
#endif /* !Py_SETOBJECT_H */
Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.57
retrieving revision 2.58
diff -C2 -d -r2.57 -r2.58
*** Python.h	12 Aug 2002 07:21:56 -0000	2.57
--- Python.h	16 Nov 2003 16:17:48 -0000	2.58
***************
*** 87,90 ****
--- 87,91 ----
 #include "dictobject.h"
 #include "enumobject.h"
+ #include "setobject.h"
 #include "methodobject.h"
 #include "moduleobject.h"


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /