Hi API and header names will evolve and change continuously. Some changes may be not backward compatible. Application will need some mechanism to support at least a few recent revisions of ODP API. For this we can use simple versioning.
#include <odp_version.h> #if ODP_VERSION <= 100 /* Call ODP v1.0 API */ odp_queue_enq(queue, buf); #else /* Call a new API */ odp_queue_enq(queue, buf, sync_flag); #endif What are you thoughts on this? _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
