How about core.sys.windows.c.* ?<div>The c package will contain the exact files of WinAPI and nothing more, wile everything beyond the c package will be the druntime additions to it?</div><div>Most code should not be broken, because most of it use Phobos and it will change the std.c.windows.windows accordingly.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 25, 2012 at 1:24 AM, Jonathan M Davis <span dir="ltr"><<a href="mailto:jmdavisProg@gmx.com" target="_blank">jmdavisProg@gmx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Saturday, November 24, 2012 23:34:05 Gor Gyolchanyan wrote:<br>
> Also, exactly what package should I put them?<br>
> I suppose core.sys.windows.*<br>
<br>
</div>I would expect them to be in core.sys.windows where each module corresponds<br>
with a header file in C/C++.<br>
<div class="im"><br>
> Although the core.sys.windows contains some D-specific modules, which<br>
> wouldn't be nice to mix with the native modules (and there are tons of<br>
> those).<br>
<br>
</div>What's there is incredibly haphazard IMHO. But I'm not sure that it would be<br>
all that big a deal to change it, because anyone doing much of anything with<br>
the Windows bindings just uses the WinAPI project, because it's worlds better.<br>
Most of what's there is either there because it's needed for druntime or<br>
Phobos or because some stray developer happened to add it (generally<br>
haphazardly as far as organization goes).<br>
<span class="HOEnZb"><font color="#888888"><br>
- Jonathan M Davis<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>