WinAPI for druntime and OpenGL for deimos.

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Fri Nov 23 03:51:05 PST 2012


Good point, but the 32-bit version also must work in order for the new
modules to be included in druntime.


On Fri, Nov 23, 2012 at 3:47 PM, Manu <turkeyman at gmail.com> wrote:

> On 23 November 2012 13:15, Gor Gyolchanyan <gor.f.gyolchanyan at gmail.com>wrote:
>
>> I'm translating OpenGL headers, taken from opengl.org (glcorearb.h,
>> glext.h, wglext.h, glxext.h) and I'm going to translate WinAPI headers (all
>> except DirectX and deprecated, like winsock1) after that.
>>
>> As we all know, the WinAPI binding in druntime as well as the static
>> libraries of WinAPI, which come with DMD are in horrendous state.
>>
>> I can translate the headers with a bunch of moderately complex regexp
>> search/replace operations, some manual tweaks and compilations with RDMD to
>> ensure correctness.
>>
>> The questions are:
>>     1. Can the DMD folks update the static libraries for WinAPI, so they
>> match with what I'm gonna submit for druntime?
>>     2. What requirements are there (except keeping WinAPI names
>> unmodified) for the translated headers to end up in druntime?
>>     3. Can the deimos folks please make an OpenGL repo so I can place my
>> translated headers in there? Yes, I know the rules of deimos.
>>
>
> *Approve!*
>
> The Win64 libs can use Microsoft's .lib files verbatim, since the Win64
> compiler now uses the MS-COFF format.
> So updating the win32 libs would be for x86 only.
>



-- 
Bye,
Gor Gyolchanyan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121123/7dae48d7/attachment-0001.html>


More information about the Digitalmars-d mailing list