Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup and restructure OpenModelica typedefs (#9108)
- Remove `m_integer` and replace its uses with `modelica_integer`. - It adds nothing more than confusion. It is the same as `modelica_integer` - Remove `m_real` and replace its uses with `modelica_real`. - It adds nothing more than confusion. It is the same as `modelica_real` - Remove `m_boolean` and replace its uses with `modelica_boolean`. - It adds nothing more than confusion. It is the same as `modelica_boolean` - Remove `m_string` and replace its uses with `modelica_string`. - It adds nothing more than confusion. It is the same as `modelica_string` - Remove `real_array_t` and replace its uses with `real_array`. - It adds nothing more than confusion. It is the same as `real_array` - This could also have been done the other way around. Changeing the code generators to generate `real_array_t` instead of `real_array` - A member previously named `real_array` in the union `type_desc_s._data` in the header `openmodelica.h` is now renamed to `r_array` to avoid confusion. - Remove `integer_array_t` and replace its uses with `integer_array`. - It adds nothing more than confusion. It is the same as `integer_array` - This could also have been done the other way around. Changeing the code generators to generate `integer_array_t` instead of `integer_array` - Remove `boolean_array_t` and replace its uses with `boolean_array`. - It adds nothing more than confusion. It is the same as `boolean_array` - This could also have been done the other way around. Changeing the code generators to generate `boolean_array_t` instead of `boolean_array` - Remove `string_array_t` and replace its uses with `string_array`. - It adds nothing more than confusion. It is the same as `string_array` - This could also have been done the other way around. Changeing the code generators to generate `string_array_t` instead of `string_array` - Cleanup restructure `openmodelica_types.h`. - Move things around so that they are ordered logically. - Removed unused macros `maxmacro` and `minmacro`.
- Loading branch information
Showing
21 changed files
with
973 additions
and
983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.