digitalmars.D - Use for new import formats
- Derek Parnell (15/15) Aug 08 2006 Just letting people know that I'm using the new import formats with good...
- kris (3/16) Aug 08 2006 Indeed ~ I'll be doing something similar, once Build handles the new
- Derek Parnell (9/26) Aug 08 2006 BTW, it does now. I'm just finalizing the docs and planning to release i...
- kris (2/28) Aug 08 2006 w00t!
- John Reimer (5/27) Aug 09 2006 =
Just letting people know that I'm using the new import formats with good effect in one particular area ... version(Windows) static import opsys = std.c.windows.windows; version(linux) static import opsys = std.c.linux.linux; version(darwin) static import opsys = std.c.darwin.darwin; version(Unix) static import opsys = std.c.unix; Then in the code we have ... x = opsys.somefunc(); which makes the code a bit tidier than the alias forms I had been using. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 8/08/2006 2:11:45 PM
Aug 08 2006
Derek Parnell wrote:Just letting people know that I'm using the new import formats with good effect in one particular area ... version(Windows) static import opsys = std.c.windows.windows; version(linux) static import opsys = std.c.linux.linux; version(darwin) static import opsys = std.c.darwin.darwin; version(Unix) static import opsys = std.c.unix; Then in the code we have ... x = opsys.somefunc(); which makes the code a bit tidier than the alias forms I had been using.Indeed ~ I'll be doing something similar, once Build handles the new imports :D
Aug 08 2006
On Tue, 08 Aug 2006 18:00:43 -0700, kris wrote:Derek Parnell wrote:BTW, it does now. I'm just finalizing the docs and planning to release it in the next 24 hours. -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 9/08/2006 11:07:59 AMJust letting people know that I'm using the new import formats with good effect in one particular area ... version(Windows) static import opsys = std.c.windows.windows; version(linux) static import opsys = std.c.linux.linux; version(darwin) static import opsys = std.c.darwin.darwin; version(Unix) static import opsys = std.c.unix; Then in the code we have ... x = opsys.somefunc(); which makes the code a bit tidier than the alias forms I had been using.Indeed ~ I'll be doing something similar, once Build handles the new imports :D
Aug 08 2006
Derek Parnell wrote:On Tue, 08 Aug 2006 18:00:43 -0700, kris wrote:w00t!Derek Parnell wrote:BTW, it does now. I'm just finalizing the docs and planning to release it in the next 24 hours.Just letting people know that I'm using the new import formats with good effect in one particular area ... version(Windows) static import opsys = std.c.windows.windows; version(linux) static import opsys = std.c.linux.linux; version(darwin) static import opsys = std.c.darwin.darwin; version(Unix) static import opsys = std.c.unix; Then in the code we have ... x = opsys.somefunc(); which makes the code a bit tidier than the alias forms I had been using.Indeed ~ I'll be doing something similar, once Build handles the new imports :D
Aug 08 2006
On Tue, 08 Aug 2006 18:09:01 -0700, Derek Parnell = <derek nomail.afraid.org> wrote:On Tue, 08 Aug 2006 18:00:43 -0700, kris wrote:=Derek Parnell wrote:Just letting people know that I'm using the new import formats with =good effect in one particular area ... version(Windows) static import opsys =3D std.c.windows.windows; version(linux) static import opsys =3D std.c.linux.linux; version(darwin) static import opsys =3D std.c.darwin.darwin; version(Unix) static import opsys =3D std.c.unix; Then in the code we have ... x =3D opsys.somefunc(); which makes the code a bit tidier than the alias forms I had been =itBTW, it does now. I'm just finalizing the docs and planning to release=using.Indeed ~ I'll be doing something similar, once Build handles the new imports :Din the next 24 hours.Yay!
Aug 09 2006