Hi Alan,

> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
> Sent: Sunday, January 31, 2016 10:50 AM
> To: Arjen Markus
> Cc: PLplot development list
> Subject: RE: Example 19 differences for Tcl [Solved!]
>
> On 2016-01-11 07:38-0000 Arjen Markus wrote:
>
> > Yes, I will have a look at [these example 19 differences] once the
> > Fortran work is done. Right
> now on my machine such differences are hidden by the fact that Cygwin 
> installation
> is currently missing the shapelib library.
>
>
> However, you are more expert than I am with regard to the Tcl binding so 
> please
> carefully review the current argument list logic for preparing the calls to 
> c_plmap*
> functions to see if any further logic issues exist and to see whether the 
> code can be
> cleaned up any further.  In particular, the current logic cleanup exposed what
> appears to be some inconsistencies in where tcl_interp is set. I frankly don't
> understand the tcl_interp logic so will you please take an especially close 
> look at
> that and fix those inconsistencies? (Or do a further code cleanup to remove 
> the
> tcl_interp logic altogether if it doesn't matter?)
>
> Thanks in advance with your help finalizing this round of changes for 
> tclAPI.c.
>

I had a closer look at the source code and it looked fine. I did realise though 
that I should at the changes you made, rather than just the resulting code :). 
So that will a second round.



As for the use of tcl_interp: this is required because the transformation 
routine does not take an extra argument that would allow us to store the 
original interpreter in. So the code stores a pointer to the interpreter for 
later use. This is somewhat unfortunate, as it introduces problems for a 
multithreaded application, but I see no possibility to do otherwise.



Regards,



Arjen



DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
contain confidential and privileged information. If you are not the intended 
recipient please notify the sender immediately and destroy this message. 
Unauthorized use, disclosure or copying of this message is strictly prohibited. 
The foundation 'Stichting Deltares', which has its seat at Delft, The 
Netherlands, Commercial Registration Number 41146461, is not liable in any way 
whatsoever for consequences and/or damages resulting from the improper, 
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to