[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-devel
Subject:    Re: [E-devel] Imlib2: less restrictions for put_back_data
From:       Carsten Haitzler (The Rasterman) <raster () rasterman ! com>
Date:       2005-05-31 22:02:28
Message-ID: 20050601070228.295de1ae () icky
[Download RAW message or body]

On Sun, 29 May 2005 13:53:28 +0200 Tilman Sauerbeck <tilman@code-monkey.de>
babbled:

> Hi,
> 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.. ? :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com
裸好多                              raster@deephackmode.org
Tokyo, Japan (東京 日本)


-------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic