I think adding 3 lines of pretty ugly code to a program just to make a very tiny piece of the code C++ rather then C is pretty pointless
Does this mean that if I posted 1 more line of the example code (the part where it says data = new uint8_t[dataSize]; ) here it would have been C++ and not C? Then this discussion would be even more pointless.
As for "being able to interface into C++ code that someone else created", the C++ code is not create by someone else, I wrote the C++ code myself. But anyway, I'm not going to bother to discuss this further, I have a computer game development project with a deadline where I still have to code a big part of the AI for so I have better things to do then pointless discussing about if a tiny piece of a whole source code if C or C++ with somebody who didn't see the rest of it.