Carsten Haitzler <[EMAIL PROTECTED]> [2005-06-01 07:02]: > > I have stumbled across a problem in Imlib2 wrt language bindings. > > > > imlib_image_put_back_data() assumes that the data pointer it has been > > given points is the same that was returned by imlib_image_get_data(). > > > > When you're not using Imlib2's C interface, but some language binding, > > this restriction can be hard to meet. > > > > I suggest to apply the attached patch, which will memcpy() the data if > > the pointer passed isn't the original pointer. > > > > Is this okay to commit? > > hmm - as i said on irc... (just tidying off mail loos ends) somehow to me this > smells of a ruby/binding issue not something to be put into imlib2's api as a > workaround.. ? :)
Yeah. Just for the record, this has been fixed in imlib2-ruby instead ;D Regards, Tilman -- learn to quote: http://www.netmeister.org/news/learn2quote.html ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
