Re: [Lcms-user] Default memory allocation functions

2011-04-05 Thread Robin Watts
In message <380-22011425142043...@m2w003.mail2web.com> "marti.ma...@littlecms.com" wrote: > That is exactly how it works. See the plug-in documentation, it > explains how to do it. See "Memory management plug-in" on page 11. Ah, I see. Thanks for the pointer. I had been labouring unde

Re: [Lcms-user] Default memory allocation functions

2011-04-05 Thread marti.ma...@littlecms.com
cmsPlugIn(&MemHandler); --- And that is all you need. Hope that helps. Cheers. Regards to Miles and Michael Vhrel if you see them :-) Marti Maria. Original Message: - From: Robin Watts robin.wa...@artifex.com Date: Tue, 05 Apr 2011 00:07:02 +0100 To: lcms-user@lists.sourc

[Lcms-user] Default memory allocation functions

2011-04-04 Thread Robin Watts
Gents, Part 2 of the changes fed back from my experiments with making Ghotscript work with lcms v2. As far as I can see, there exists no way within the current API to avoid the memory functions using malloc and free (unless you are implementing a plugin, which we are not). Lcms v2 appears to hav