Skip to main content
2 of 2
added 83 characters in body
Doc Brown
  • 220.3k
  • 35
  • 410
  • 623

Create a compact meta format (AKA a DSL) for describing the function signatures and write a code generator which reads that meta-format and produces all of the needed headers and cpp files for the loadLibrary code. So you don't have to bother with the readability of the C or C++ code too much, just make sure your meta-format is well readable.

Doc Brown
  • 220.3k
  • 35
  • 410
  • 623