Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Namespaces and ObjC




2005/08/23 v 10:04, ObjM2:

DEFINITION MODULE Vendor; (* this is the library module *)

EXPORT Foobar AS ProductA, Barbar AS ProductB;
(...)
END Vendor.

Now, "consumers" can use both classes under their "rebranded" names ...

MODULE MyApp;

FROM Vendor IMPORT Foobar, Barbar;
(...)

Hi,

I'd expect MyApp's FROM/IMPORT to use the ProductA, ProductB names. Is it a mistake or did I get something wrong?

--
Adam Nohejl
Loki Software
mailto:email@hidden
http://lokisw.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/objc-language/email@hidden

This email sent to email@hidden
References: 
 >Namespaces and ObjC (From: ObjM2 <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.