4 ms·
How do you link any cpp binary without headers without guessing the calling convention?
by rightbyte 8y ago
How do you link any cpp binary without headers without guessing the calling convention?
- carlsonmark 8y agoIt's not so much that you never have the headers... more that you don't always want to provide the headers to everyone (since they may contain things you don't want to share.) I looked into it a bit further, and cppyy does have provisions for this: https://cppyy.readthedocs.io/en/latest/bindings_generation.html https://cppyy.readthedocs.io/en/latest/bindings_generation.h... I may have misread that page, but it looks like you can create a .rootmap and .pcm file and distribute that instead of the C++ headers.