Skip to content

Commit 0278d17

Browse files
authored
Isolate types with const/typedefs inside a struct (#6050)
* Refs #23709: Update dds-types-test submodule Signed-off-by: Jesus Perez <[email protected]> * Refs #23709: Update dds-types-test submodule (main) Signed-off-by: Jesus Perez <[email protected]> --------- Signed-off-by: Jesus Perez <[email protected]>
1 parent d0e2ee4 commit 0278d17

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

test/dds/xtypes/update_header_and_create_cases.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ def __init__(self):
1212
self.files_to_ignore = {
1313
"external.idl",
1414
"member_id.idl", # Not support while @autoid(HASH) StructTypeFlag information cannot be pass to DynamicType API.
15-
"relative_path_include.idl"
15+
"relative_path_include.idl",
16+
"inner_const_and_typedef.idl"
1617
}
1718
# List of struct names to ignore
1819
self.struct_names_to_ignore = ["MapWString*", "MapInnerAliasBoundedWStringHelper*", "AnnotatedStruct"]
@@ -256,7 +257,7 @@ def main():
256257
processor.structs_info, processor.struct_names_to_ignore, processor.idl_without_typeobjects)
257258
update_participant_headers_file("TypeLookupServiceSubscriber.h", "SUBSCRIBER_TYPE_CREATOR_FUNCTION",
258259
processor.structs_info, processor.struct_names_to_ignore, processor.idl_without_typeobjects)
259-
260+
260261

261262
if __name__ == "__main__":
262263
main()

utils/scripts/update_generated_code_from_idl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ files_needing_output_dir=(
5656
'./test/unittest/dds/xtypes/serializers/json/types/comprehensive_type/ComprehensiveType.idl|./gen'
5757
'./thirdparty/dds-types-test/IDL/aliases.idl|../../../test/dds-types-test'
5858
'./thirdparty/dds-types-test/IDL/annotations.idl|../../../test/dds-types-test'
59+
'./thirdparty/dds-types-test/IDL/inner_const_and_typedef.idl|../../../test/dds-types-test'
5960
'./thirdparty/dds-types-test/IDL/appendable.idl|../../../test/dds-types-test'
6061
'./thirdparty/dds-types-test/IDL/arrays.idl|../../../test/dds-types-test'
6162
'./thirdparty/dds-types-test/IDL/bitsets.idl|../../../test/dds-types-test'

0 commit comments

Comments
 (0)