eclipse-paho / paho.mqtt.embedded-c

Paho MQTT C client library for embedded systems. Paho is an Eclipse IoT project (https://iot.eclipse.org/)
https://eclipse.org/paho
Other
1.37k stars 757 forks source link

Different file names for C and C++: include files use hpp. #247

Closed CIPop closed 1 year ago

CIPop commented 1 year ago

Having two files named MQTTClient.h in the same repository (one for C++ and one for C) is a bit confusing. This is a proposal to rename C++ include files to .hpp (source files are already named .cpp), and name the C++ folder MQTTClient-CPP.

This likely has implications that I am not aware of such as mBed and Arduino integration.

icraggs commented 1 year ago

It was the convention on the mbed platform, which is why it was like that. I agree it's clearer, so we can keep an eye out for any conflicts caused later.