microsoft / ftl-sdk

Software Development Kit for Mixer's FTL Protocol
MIT License
154 stars 64 forks source link

Make ftl.h a bit more c++-friendly. #70

Closed jgh- closed 6 years ago

jgh- commented 6 years ago

C++11 removed the deprecated ability to assign string literals to char*, and std::string::c_str() provides const char* as its type. Making these strings const does not appear to impact internal sdk functioning as they are not modified. Additionally I added an extern "C" guard to prevent C++ name mangling.

QuinnDamerell-MS commented 6 years ago

Thanks!