On 2013-07-26 14:17, Chris Johns wrote:
Sebastian Huber wrote:
What about xyzapi.h, xyzcore.h and xyzimpl.h?
I think xyzcore.h is ok but I do not like xyzapi.h. I feel the 'api' part in
this case is implicit. For example in user code you see would:
#include <xyz.h>
and not:
#include <xyzapi.h>
because it is implicit a user would only be accessing the API. The standard C
library is the same with <string.h> rather than <stringapi.h>. The C++ std is
another example.
Yes, this is bad. In our case it wouldn't be that bad since all of this stuff
is included in <rtems.h>.
Currently we are forced to have other names. Boost uses directories such impl
which is nice because it avoids things like 'armdmacorecore.h' happening. I
think stdc++v3 has bits or something like that.
Yes, this is also an option. Anyway I don't have time to push this further at
the moment.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : [email protected]
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
[email protected]
http://www.rtems.org/mailman/listinfo/rtems-devel