Code Replacement Customization
Create and maintain code replacement libraries
Customize how and when the code generator replaces C/C++ code that it generates by default for functions and operators by developing a custom code replacement library. You can develop libraries interactively with the Code Replacement Tool or programmatically.
Develop libraries tailored to specific application requirements.
Add identifiers to the list of reserved keywords that the code generator considers during code replacement.
Customize the code generator’s matching and replacement process for functions.
These topics get you started:
- Library Development
Develop code replacement library
- Function Replacement
Define code replacement mappings for functions
- Operator Replacement
Define code replacement mappings for operators
- Fixed-Point Operator Replacement
Define code replacement mappings for fixed-point operations