On Thu, 06 Mar 2014 11:40:55 -0000, Kagamin <s...@here.lot> wrote:
It can be a module pragma: pragma(restrictImportTo,"core.sys.posix.ucontext") module ports.linux.ucontext;
Good idea, then the platform specific modules can only define the platform specific things.
But, it means when maintaining them you inherently have to consider posix, making the burden a little higher. Which runs counter to Walter's goal I think.
R -- Using Opera's revolutionary email client: http://www.opera.com/mail/