-
- Downloads
Add support for multiple argument C functions
It remains a bunch of types checking and validation Functions such as `min`, `max` and maybe `abs` should probably not be defined as math C functions: these functions should compute their returned type according to their arguments and not be only real function. Moreover, `min` and `max` should conveniently allow more than 2 arguments.
Showing
- src/language/ASTNodeCFunctionExpressionBuilder.cpp 12 additions, 12 deletionssrc/language/ASTNodeCFunctionExpressionBuilder.cpp
- src/language/ASTNodeCFunctionExpressionBuilder.hpp 3 additions, 1 deletionsrc/language/ASTNodeCFunctionExpressionBuilder.hpp
- src/language/CFunctionEmbedder.hpp 59 additions, 4 deletionssrc/language/CFunctionEmbedder.hpp
- src/language/CMathModule.cpp 28 additions, 0 deletionssrc/language/CMathModule.cpp
- src/language/node_processor/CFunctionProcessor.hpp 1 addition, 8 deletionssrc/language/node_processor/CFunctionProcessor.hpp
Please register or sign in to comment