From: Todd M. <jm...@st...> - 2004-03-19 14:43:44
|
> Todd, perhaps instead of a > platform based typedef we need some tk version macro or something > since he's also bumping into this on linux. May be time for a google > :-) I think I hacked around this in a way not likely to break: rather than fixing the signature of PyAggImagePhoto, I changed the call to Tcl_CreateCommand to cast PyAggImagePhoto to the right thing. I am hopeful, but not certain, that this will work and saves us the trouble of identifying at what version of Tcl/Tk this change occured. I think this hack is OK because the interface being changed looks so critical that I'm surprised they even tweaked it. I already committed it after testing it on Linux (not really enough, I know). I'll try Windows later today. Regards, Todd > > Gary, it's an easy fix for you. Search src/_tkagg.cpp for this > section of the code (around line 32) > > #ifdef WIN32 > #define argv_t const char > #else > #define argv_t char > #endif > > and just delete it all and replace it with > > #define argv_t const char > > Let us know how it goes from there. > > JDH > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Todd Miller <jm...@st...> |