On Mon, 08 Aug 2005 14:11:14 +0200 xnowfall <[EMAIL PROTECTED]> babbled:
>
>
> Carsten Haitzler (The Rasterman) wrote:
> > On Mon, 08 Aug 2005 11:53:42 +0200 xnowfall <[EMAIL PROTECTED]> babbled:
> >
> >
> >>would it be possible to have the libraries use the efl:: (or some such)
> >>namespace? perhaps require a #define USE_EFL_NAMESPACE for backwards
> >>compatibility and anyone that doesn't want it?
> >
> >
> > why? they already have namespace.
> >
>
> ? you mean like the names start with ecore_ evas_ etc? well, i still
> think it would be more organized to have a namespace to contain it all.
> i've been wrapping stuff up in c++ where i've tried to keep similar
> names for example where efl:: would make it more clear. it's mostly a
> personal preference thing i guess, i tend to like to keep the namespace
> clean and not use a lot of using directives and so on...
>
> something like this was the idea
>
> #ifdef NAMESPACE_EFL
> namespace efl {
> #endif
>
> i was just thinking that it wouldn't change anything for those that
> don't care while still giving you the option if you want
um - efl is in C - there is no such thing as explicit namespace in C. it's
implicit in the function names - the first word is a namespace for EFL. ie
namespace_blah_blah_get()
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) [EMAIL PROTECTED]
裸好多 [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel