Skip to content

Conversation

@ahueck
Copy link
Contributor

@ahueck ahueck commented Mar 7, 2025

Adapt runtime API

  • Use typeart_type_info_t and typeart_base_type_info_t to describe type information, as opposed to individual values
  • typeart_get_type: returns typeart_type_info_t with (a) type information about the pointer and (b) containing type information:
    struct A {
      float a;
      float b;
    };
    typeart_get_type(a_struct.b, ...)  // -> containing type is a_struct "A"
  • typeart_get_containing_type: Uses the information of typeart_get_type to give infos about offset etc. wr.t. containing type (previously, this caused a pointer map lookup)
  • typeart_get_type: lookup struct member type using the new struct describing types
  • Remove unused API functions
Misc

Adaptions to CMake for better tool integration

@coveralls
Copy link
Collaborator

coveralls commented Mar 7, 2025

Pull Request Test Coverage Report for Build 13718918453

Details

  • 33 of 33 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 88.875%

Totals Coverage Status
Change from base Build 13543595502: 0.02%
Covered Lines: 4194
Relevant Lines: 4719

💛 - Coveralls

@ahueck ahueck merged commit c656326 into devel Mar 7, 2025
39 checks passed
@ahueck ahueck deleted the feat/campicc branch March 7, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants