laurencelundblade / QCBOR

Comprehensive, powerful, commercial-quality CBOR encoder/ decoder that is still suited for small devices.
Other
183 stars 47 forks source link

Rename private functions to avoid name collisons #194

Closed laurencelundblade closed 7 months ago

laurencelundblade commented 7 months ago

This makes names of functions that link into the target executable longer and more unique. This is doing the job of c++ name spaces.

This makes all the context variable names consistent "pMe" where sometimes "me" was used.

This pulls all the documentation of private functions that were publicly exposed into the .c files.

This cleans up other aspects of function definition/declaration.

Remove "inline" from functions in .c files. Assume that the compilers know better these days.

This adds "const" to arguments of lots of function implementations.

This makes no semantic changes. The generated code should be identical.