[M3devel] hidden interface vs. public Interface? hidden isn't hidden?
Jay K
jay.krell at cornell.edu
Wed Apr 14 13:37:19 CEST 2010
Given that public interface TimePosix has functions that return types from Utime, it seems reasonable, though maybe with a warning. But I think when I hid TimePosix, just as an experiment, it still made them public. Something to be looked into much later.
- Jay
> Date: Wed, 14 Apr 2010 13:01:26 +0200
> From: wagner at elegosoft.com
> To: m3devel at elegosoft.com
> Subject: Re: [M3devel] hidden interface vs. public Interface? hidden isn't hidden?
>
> Quoting Jay K <jay.krell at cornell.edu>:
>
> >
> > I tried changing from Interface("Utime") to interface("Utime").
> >
> > Now, it turns out, that is a mistake anyway, there are still
> > uses, and they aren't going away.
> >
> > But even so, this change doesn't do what it is supposed to.
> > Utime gets marked "hidden" in the .M3EXPORTS files.
> > I haven't yet decipered the .m3x file.
> > I'm still able to build clients e.g. m3-games/tetris.
> > I'm certain I'm using the updated one. I even rm -rf /cm3/pkg/m3core.
> >
> > It seems "hidden" doesn't work?
> >
> > I'll have to dig into the .m3x file I think.
>
> I remember that in the SRC system, hidden files weren't shipped at all
> to the global package pool. Critical Mass changed that, because hey
> wanted the source to be available for browsing.
>
> I always assumed that the compiler was able to hnour the hidden state
> of the interface nonetheless.
>
> If it doesn't work, we should fix it.
>
> Olaf
> --
> Olaf Wagner -- elego Software Solutions GmbH
> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100414/5e862bcc/attachment-0002.html>
More information about the M3devel
mailing list