weliem / bluez_inc

A C library for Bluez (BLE) that hides all DBus communication. It doesn't get easier than this. This library can also be used in C++.
MIT License
84 stars 19 forks source link

scope enums with `BINC_` #29

Closed charlesnicholson closed 5 months ago

charlesnicholson commented 5 months ago

bluez_inc provides enums in its public header files that have very generic and common names like CONNECTED, STOPPED, STARTED, etc.

Consider renaming them to BINC_CONNECTED, BINC_STOPPED, BINC_STARTED, etc.. so they don't collide with the application-owned "global" naming space.

(If you're interested, I could PR this)

weliem commented 5 months ago

Feel free to raise a PR!