Re: GraphicsMagick-1.3.23/TclMagick make errorq

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
On Fri, 12 Feb 2016, Benjamin Brink wrote:

> Bob,
> 
> I may have found the key:  The Tcl C library has Tcl_LinkVar procedure which allows C to store a C value at the interpreter level.
> 
> Here's a quote from page 606 of free sample chapter 44 of the book "Practical Programming in Tcl and Tk, 3rd
> Edition" at: http://www.beedub.com/book/3rd/bookTOC.html  
> 
> >  The Tcl_LinkVar procedure causes a Tcl variable to mirror a C variable. Modifications to the Tcl variable are reflected in the C
> variable, and reading the Tcl variable always returns the C variable’s value. 
> 
> It's fairly common in Tcl to use an uncommon variable naming convention for passing internals between procs, such as double
> underscore procedure name underscore local variable name ie __TclMagick_varname.  

This does sound like it would work.

> I'm up for spending some time on this if you want to provide more details.  Sadly, I don't have resources for a Tk development
> environment however.  My local machines are headless (no gui) and my gui system is actually an ipad (which doesn't support software
> development).

This will remain on my list of things to do unless someone is able to 
contribute a patch.  It sounds like just a few lines addition in each 
module.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
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=272487151&iu=/4140

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.