Closed tfzee closed 1 year ago
Added get_field_at_index and count_fields to StructValue.
This mirrors the functions from StructType and allows accessing members of const structures directly.
https://github.com/TheDan64/inkwell/issues/450
Added a few simple assertions to the tests. test_values.rs
Thanks!
Added get_field_at_index and count_fields to StructValue.
Description
This mirrors the functions from StructType and allows accessing members of const structures directly.
Related Issue
https://github.com/TheDan64/inkwell/issues/450
How This Has Been Tested
Added a few simple assertions to the tests. test_values.rs
Checklist