eclipse-zenoh / zenoh-c

C API for Zenoh
http://zenoh.io
Other
74 stars 54 forks source link

rename feature macros #688

Closed DenisBiryukov91 closed 1 week ago

DenisBiryukov91 commented 2 weeks ago

Describe the release item

Currently we are using UNSTABLE to check for unstable feature and SHARED_MEMORY for shared memory feature. These are pretty common names, to avoid collisions with other libraries we need to change them somehow. One proposal is to use schema similar to zenoh pico, where everything is prefixed with Z_FEATURE i.e. this would translate into: Z_FEATURE_UNSTABLE_API and Z_FEATURE_SHARED_MEMORY.

It is also desirable to make same updated for platform dependent macros, i.e: TARGET_ARCH_AARCH64 -> Z_TARGET_ARCH_AARCH64.