[Win32utils-devel] 1.9.x compatibility for win32-api

Luis Lavena luislavena at gmail.com
Wed Feb 18 13:42:25 EST 2009


On Wed, Feb 18, 2009 at 4:04 PM, James Tucker <jftucker at gmail.com> wrote:
>
> On 18 Feb 2009, at 16:55, Luis Lavena wrote:
>
>> On Wed, Feb 18, 2009 at 2:31 PM, Berger, Daniel <Daniel.Berger at qwest.com>
>> wrote:
>>>
>>> It seems 1.9 doesn't allow stuff like RSTRING(ptr)->len; you must instead
>>> use wrapper macros like RSTRING_LEN(ptr). I'm not really sure why.
>
> To allow restructuring of the value at the other end of ptr?
>
>> This is the average working solution to it:
>>
>> http://github.com/fauna/mongrel/blob/HEAD/ext/http11/http11.c#L11-16
>
> Less needed here, so went for simpler:
>
> http://github.com/eventmachine/eventmachine/commit/a9cee3895048ffbd2a5e1da804b319d99ff68443
>

Hmn, that is lot of noise and conditionals through your code...

What is wrong with defining those when don't exist and update your code for it?

-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


More information about the win32utils-devel mailing list