[Stackless-checkins] CVS: slpdev/src/2.3/psyco-1.2/c cstruct.h, 1.1.1.1, 1.2 psyco.c, 1.1.1.1, 1.2 psyco.h, 1.1.1.1, 1.2
Christian Tismer
tismer at centera.de
Thu Jul 22 19:49:44 CEST 2004
Update of /home/cvs/slpdev/src/2.3/psyco-1.2/c
In directory centera.de:/tmp/cvs-serv7665/psyco-1.2/c
Modified Files:
cstruct.h psyco.c psyco.h
Log Message:
trying to get psyco disassembly right under Windows.
It seems not to work with vc7, since it does pdb files, only.
Will need to switch to map file reading.
Index: cstruct.h
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/psyco-1.2/c/cstruct.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** cstruct.h 15 Jul 2004 18:32:31 -0000 1.1.1.1
--- cstruct.h 22 Jul 2004 17:49:40 -0000 1.2
***************
*** 24,28 ****
#define PyCStruct_Check(op) PyObject_TypeCheck(op, &PyCStruct_Type)
! DEFINEFN PyObject* PyCStruct_New(size_t size, destructor d);
#define PyCStruct_NEW(TYPE, d) \
((TYPE*) PyCStruct_New(sizeof(TYPE), (destructor)(d)))
--- 24,28 ----
#define PyCStruct_Check(op) PyObject_TypeCheck(op, &PyCStruct_Type)
! EXTERNFN PyObject* PyCStruct_New(size_t size, destructor d);
#define PyCStruct_NEW(TYPE, d) \
((TYPE*) PyCStruct_New(sizeof(TYPE), (destructor)(d)))
Index: psyco.c
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/psyco-1.2/c/psyco.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** psyco.c 15 Jul 2004 18:32:32 -0000 1.1.1.1
--- psyco.c 22 Jul 2004 17:49:40 -0000 1.2
***************
*** 230,234 ****
# define psyco_top_array_count fz_top_array_count
#endif
! DEFINEFN
void psyco_dump_code_buffers(void)
{
--- 230,235 ----
# define psyco_top_array_count fz_top_array_count
#endif
!
! /* DEFINEFN */
void psyco_dump_code_buffers(void)
{
Index: psyco.h
===================================================================
RCS file: /home/cvs/slpdev/src/2.3/psyco-1.2/c/psyco.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** psyco.h 15 Jul 2004 18:32:32 -0000 1.1.1.1
--- psyco.h 22 Jul 2004 17:49:40 -0000 1.2
***************
*** 132,137 ****
--- 132,142 ----
# define INITIALIZATIONFN inline
#else
+ #ifdef _MSC_VER
+ # define EXTERNVAR __declspec(dllexport)
+ # define EXTERNFN extern __declspec(dllexport)
+ #else
# define EXTERNVAR
# define EXTERNFN
+ #endif
# define DEFINEVAR
# define DEFINEFN
_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins
More information about the Stackless-checkins
mailing list