Currently our headers are nested in two folder in the root directory
This has two problems
- The root repo path has to be added to the include search path, possibly confusing IDEs and compilers
- "ruby" conflicts with the actual ruby language headers, possibly confusing IDEs and compilers
This should be restructured to
include/hostapp
include/rubyutils
Additionally, even though all classes and functions well name-spaced, macros are not (eg: DEFINE_WRAPPED_METHOD)
Though the likelihood of naming collisions is low, it would be good practice to prefix all macros with SCA_ or something like that.
Currently our headers are nested in two folder in the root directory
This has two problems
This should be restructured to
Additionally, even though all classes and functions well name-spaced, macros are not (eg: DEFINE_WRAPPED_METHOD)
Though the likelihood of naming collisions is low, it would be good practice to prefix all macros with
SCA_or something like that.