/opt/alt/python33/include/python3.3m
NameSizeModeActions
abstract.h426070644editdlrm
accu.h10160644editdlrm
asdl.h10920644editdlrm
ast.h3440644editdlrm
bitset.h7920644editdlrm
bltinmodule.h2640644editdlrm
boolobject.h8860644editdlrm
bytearrayobject.h20010644editdlrm
bytesobject.h48910644editdlrm
bytes_methods.h20250644editdlrm
cellobject.h7010644editdlrm
ceval.h71940644editdlrm
classobject.h16660644editdlrm
code.h42270644editdlrm
codecs.h64780644editdlrm
compile.h16630644editdlrm
complexobject.h19540644editdlrm
datetime.h85420644editdlrm
descrobject.h29130644editdlrm
dictobject.h49720644editdlrm
dtoa.h4580644editdlrm
dynamic_annotations.h224710644editdlrm
enumobject.h2530644editdlrm
errcode.h14970644editdlrm
eval.h5970644editdlrm
fileobject.h17670644editdlrm
fileutils.h10860644editdlrm
floatobject.h46410644editdlrm
frameobject.h33720644editdlrm
funcobject.h37710644editdlrm
genobject.h10800644editdlrm
graminit.h18730644editdlrm
grammar.h20210644editdlrm
import.h38830644editdlrm
intrcheck.h4600644editdlrm
iterobject.h5670644editdlrm
listobject.h28340644editdlrm
longintrepr.h39970644editdlrm
longobject.h77330644editdlrm
marshal.h7430644editdlrm
memoryobject.h28720644editdlrm
metagrammar.h2530644editdlrm
methodobject.h33070644editdlrm
modsupport.h48670644editdlrm
moduleobject.h15650644editdlrm
namespaceobject.h2970644editdlrm
node.h9960644editdlrm
object.h379780644editdlrm
objimpl.h133890644editdlrm
opcode.h52080644editdlrm
osdefs.h9860644editdlrm
parsetok.h22830644editdlrm
patchlevel.h11280644editdlrm
pgen.h2530644editdlrm
pgenheaders.h11440644editdlrm
pyarena.h27440644editdlrm
pyatomic.h59440644editdlrm
pycapsule.h17260644editdlrm
pyconfig-64.h424310644editdlrm
pyconfig.h1620644editdlrm
pyctype.h13200644editdlrm
pydebug.h9860644editdlrm
pyerrors.h146850644editdlrm
pyexpat.h23400644editdlrm
pyfpe.h84890644editdlrm
pygetopt.h3880644editdlrm
pymacconfig.h29880644editdlrm
pymacro.h26850644editdlrm
pymath.h64120644editdlrm
pymem.h46980644editdlrm
pyport.h310430644editdlrm
pystate.h77570644editdlrm
pystrcmp.h4360644editdlrm
pystrtod.h12760644editdlrm
Python-ast.h193210644editdlrm
Python.h28360644editdlrm
pythonrun.h89970644editdlrm
pythread.h30360644editdlrm
pytime.h27060644editdlrm
py_curses.h41750644editdlrm
rangeobject.h6290644editdlrm
setobject.h32910644editdlrm
sliceobject.h13800644editdlrm
structmember.h20680644editdlrm
structseq.h12170644editdlrm
symtable.h46880644editdlrm
sysmodule.h11110644editdlrm
token.h18820644editdlrm
traceback.h21450644editdlrm
tupleobject.h24440644editdlrm
typeslots.h19970644editdlrm
ucnhash.h10570644editdlrm
unicodeobject.h761940644editdlrm
warnings.h9530644editdlrm
weakrefobject.h28660644editdlrm
Edit: /opt/alt/python33/include/python3.3m/setobject.h (3291B)
/* Set object interface */ #ifndef Py_SETOBJECT_H #define Py_SETOBJECT_H #ifdef __cplusplus extern "C" { #endif /* There are three kinds of slots in the table: 1. Unused: key == NULL 2. Active: key != NULL and key != dummy 3. Dummy: key == dummy Note: .pop() abuses the hash field of an Unused or Dummy slot to hold a search finger. The hash field of Unused or Dummy slots has no meaning otherwise. */ #ifndef Py_LIMITED_API #define PySet_MINSIZE 8 typedef struct { /* Cached hash code of the key. */ Py_hash_t hash; PyObject *key; } setentry; /* This data structure is shared by set and frozenset objects. */ typedef struct _setobject PySetObject; struct _setobject { PyObject_HEAD Py_ssize_t fill; /* # Active + # Dummy */ Py_ssize_t used; /* # Active */ /* The table contains mask + 1 slots, and that's a power of 2. * We store the mask instead of the size because the mask is more * frequently needed. */ Py_ssize_t mask; /* table points to smalltable for small tables, else to * additional malloc'ed memory. table is never NULL! This rule * saves repeated runtime null-tests. */ setentry *table; setentry *(*lookup)(PySetObject *so, PyObject *key, Py_hash_t hash); setentry smalltable[PySet_MINSIZE]; Py_hash_t hash; /* only used by frozenset objects */ PyObject *weakreflist; /* List of weak references */ }; #endif /* Py_LIMITED_API */ PyAPI_DATA(PyTypeObject) PySet_Type; PyAPI_DATA(PyTypeObject) PyFrozenSet_Type; PyAPI_DATA(PyTypeObject) PySetIter_Type; /* Invariants for frozensets: * data is immutable. * hash is the hash of the frozenset or -1 if not computed yet. * Invariants for sets: * hash is -1 */ #define PyFrozenSet_CheckExact(ob) (Py_TYPE(ob) == &PyFrozenSet_Type) #define PyAnySet_CheckExact(ob) \ (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type) #define PyAnySet_Check(ob) \ (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \ PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \ PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) #define PySet_Check(ob) \ (Py_TYPE(ob) == &PySet_Type || \ PyType_IsSubtype(Py_TYPE(ob), &PySet_Type)) #define PyFrozenSet_Check(ob) \ (Py_TYPE(ob) == &PyFrozenSet_Type || \ PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type)) PyAPI_FUNC(PyObject *) PySet_New(PyObject *); PyAPI_FUNC(PyObject *) PyFrozenSet_New(PyObject *); PyAPI_FUNC(Py_ssize_t) PySet_Size(PyObject *anyset); #ifndef Py_LIMITED_API #define PySet_GET_SIZE(so) (((PySetObject *)(so))->used) #endif PyAPI_FUNC(int) PySet_Clear(PyObject *set); PyAPI_FUNC(int) PySet_Contains(PyObject *anyset, PyObject *key); PyAPI_FUNC(int) PySet_Discard(PyObject *set, PyObject *key); PyAPI_FUNC(int) PySet_Add(PyObject *set, PyObject *key); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PySet_NextEntry(PyObject *set, Py_ssize_t *pos, PyObject **key, Py_hash_t *hash); #endif PyAPI_FUNC(PyObject *) PySet_Pop(PyObject *set); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable); PyAPI_FUNC(int) PySet_ClearFreeList(void); PyAPI_FUNC(void) _PySet_DebugMallocStats(FILE *out); #endif #ifdef __cplusplus } #endif #endif /* !Py_SETOBJECT_H */