Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why KCG do not generate automatically the file macro.h?

automatically file kcg
0
Posted

Why KCG do not generate automatically the file macro.h?

0

In the generated code, the file is included in some C files. However this file is not generated automatically by KCG. This behaviour is normal as the file must be provided by users. Macro-instructions for functions passed as parameters are systematically generated. Default prototypes for theses macro-instructions are provided by the Code Generator in the macro_default.h file and all macros are protected against redefinition by #ifndef and #endif directives. User definitions for theses macro-instructions can be provided via user macro files. By default, the file provided by user should include the macro_default.h file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123