On 11/04/2014 07:24 PM, Bill Fischofer wrote:
These files simply describe the APIs, their parameters, and expected
behaviors.  As such they are implementation-independent.  The only
implementation-specific things in them are the typedef definitions,
which is what we were discussing moving.  The sequence of #includes
should be:

Application        Implementation                     Common ODP API

#include odp.h
                    #include platform/.../odp_xxx.h
                    (defines typedefs and inlines)
                                                       #include
common/odp_xxx.h
                                                       (references
typedefs. If typedefs
      missing or inlines
                                                        conflict, will
cause compile
                                                        error,
indicating a problem in
                                                        platform
understanding of API)

Does this structure make sense?

In a reply to Ciprian's RFC I've tried to explain a corner case where this structure fails to work.

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to