From: <ti...@co...> - 2009-01-31 12:48:55
|
Author: tismer Date: Sat Jan 31 13:18:49 2009 New Revision: 61483 Modified: psyco/v2/dist/MANIFEST psyco/v2/dist/c/files.py psyco/v2/dist/c/initialize.h Log: added rudimentary support for set objects (len) Modified: psyco/v2/dist/MANIFEST ============================================================================== --- psyco/v2/dist/MANIFEST (original) +++ psyco/v2/dist/MANIFEST Sat Jan 31 13:18:49 2009 @@ -51,6 +51,8 @@ c/Objects/pobject.h c/Objects/prangeobject.c c/Objects/prangeobject.h +c/Objects/psetobject.c +c/Objects/psetobject.h c/Objects/pstringobject.c c/Objects/pstringobject.h c/Objects/pstructmember.c Modified: psyco/v2/dist/c/files.py ============================================================================== --- psyco/v2/dist/c/files.py (original) +++ psyco/v2/dist/c/files.py Sat Jan 31 13:18:49 2009 @@ -61,6 +61,7 @@ Object('typeobject'), Source('Objects/compactobject.c', 'psyco_compact_init'), Object('compactobject'), + Object('setobject'), Module('array'), Module('math'), Modified: psyco/v2/dist/c/initialize.h ============================================================================== --- psyco/v2/dist/c/initialize.h (original) +++ psyco/v2/dist/c/initialize.h Sat Jan 31 13:18:49 2009 @@ -35,6 +35,7 @@ # include "Objects/ptupleobject.h" # include "Objects/ptypeobject.h" # include "Objects/pcompactobject.h" +# include "Objects/psetobject.h" #else /* if PSYCO_INITIALIZATION */ # undef PSYCO_INITIALIZATION @@ -77,6 +78,7 @@ # include "Objects/ptypeobject.c" # include "Objects/compactobject.c" # include "Objects/pcompactobject.c" +# include "Objects/psetobject.c" # include "Modules/parray.c" # include "Modules/pmath.c" # include "Modules/ppsyco.c" @@ -108,6 +110,7 @@ EXTERNFN void psy_typeobject_init(void); /* Objects/ptypeobject.c */ EXTERNFN void psyco_compact_init(void); /* Objects/compactobject.c */ EXTERNFN void psy_compactobject_init(void); /* Objects/pcompactobject.c */ + EXTERNFN void psy_setobject_init(void); /* Objects/psetobject.c */ EXTERNFN void psyco_initarray(void); /* Modules/parray.c */ EXTERNFN void psyco_initmath(void); /* Modules/pmath.c */ EXTERNFN void psyco_initpsyco(void); /* Modules/ppsyco.c */ @@ -142,6 +145,7 @@ psy_typeobject_init(); /* Objects/ptypeobject.c */ psyco_compact_init(); /* Objects/compactobject.c */ psy_compactobject_init(); /* Objects/pcompactobject.c */ + psy_setobject_init(); /* Objects/psetobject.c */ psyco_initarray(); /* Modules/parray.c */ psyco_initmath(); /* Modules/pmath.c */ psyco_initpsyco(); /* Modules/ppsyco.c */ |