Re: Packages

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> So if the gui.e guy wanted to be able to see stuff in the memory package
I'm struggling to see why gui.e would want priviledged access to the private
bits of memory.e in a way other components were not allowed. Surely if gui.e
wants to use memory.e it should just stick with the publically defined external
api??

> My concern with this is that everyone has to choose unique package names,
> or libraries with conflicting package names risk leaking into each other.
Hmm. It may be possible to use the one guaranteed unique thing we have to hand:
-- win32lib.ew
package ./win32lib.ew
include file/w32file.e
<eof>
-- w32file.e
package ../win32lib.ew
<eof>

IE the package name is a full expanded path and filename. There may be other
benefits to this, namely not using F:\test\win32lib.ew with
C:\Euphoria\include\w32file.e, which may have version incompatibilities.

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu