DllExport
DllExport copied to clipboard
Generate c header file?
With the "Generate .lib via MS Library Manager" option, I can write a header file and link against the lib file. Since there are only function definitions in this header file, I wonder if there can be a feature to generate not only a lib file, but also a header file? It will need the return type and the parameter type of the exported functions. Is there way to extract the these information?
Here I commented something about it https://github.com/3F/DllExport/issues/60#issuecomment-351825270
It will need the return type and the parameter type of the exported functions. Is there way to extract the these information?
Only manual implementation for today. But I think it's a good thing to review this task later as part of the Conari project to provide the feature for the projects like DllExport etc. Follow the news.
Oh, somehow I didn't found that issue. I only searched for header but not .h. Thanks for the reply. For now maybe I should try if it can be done using cecil or some other C# tools.
@you74674 Keep it open for future tasks. It will be considered as a suggestion since it was not the first attempt to achieve this.