From a04b741eda32e900a1c7b0ca087199a133d4c441 Mon Sep 17 00:00:00 2001 From: Mario Dominguez Date: Tue, 22 Jul 2025 14:52:47 +0200 Subject: [PATCH] Refs #23504: Add types for the new arrays (de)serialization tests Signed-off-by: Mario Dominguez --- IDL/arrays.idl | 13 +++++++++++++ IDL/helpers/basic_inner_types.idl | 14 ++++++++++++++ IDL/sequences.idl | 6 ++++++ 3 files changed, 33 insertions(+) diff --git a/IDL/arrays.idl b/IDL/arrays.idl index 3cff2fc..60c651f 100644 --- a/IDL/arrays.idl +++ b/IDL/arrays.idl @@ -537,3 +537,16 @@ struct BoundedBigArrays { short var_array_big[41925]; }; + +@extensibility(FINAL) +struct LargeBasicPlainArray +{ + octet field1; + InnerBasicPlainStructHelper var_large_basic_plain_array[6291456]; +}; + +@extensibility(FINAL) +struct LargePlainArray +{ + InnerPlainStructHelper var_large_plain_array[6291456]; +}; diff --git a/IDL/helpers/basic_inner_types.idl b/IDL/helpers/basic_inner_types.idl index 08500a5..a511c24 100644 --- a/IDL/helpers/basic_inner_types.idl +++ b/IDL/helpers/basic_inner_types.idl @@ -66,3 +66,17 @@ typedef InnerBitsetHelper inner_bitset_helper_alias; // String consts are checked here to avoid generating the related TypeObjectTest. const string const_string = "AAA"; const wstring const_wstring = L"BBB"; + +@extensibility(FINAL) +struct InnerBasicPlainStructHelper +{ + long field1; +}; + +@extensibility(FINAL) +struct InnerPlainStructHelper +{ + boolean field1; + long field2; + float field3; +}; diff --git a/IDL/sequences.idl b/IDL/sequences.idl index 07ee5db..9d25a0c 100644 --- a/IDL/sequences.idl +++ b/IDL/sequences.idl @@ -142,6 +142,12 @@ struct BoundedBigSequences sequence var_unbounded_string_large_bounded_sequence; }; +@extensibility(FINAL) +struct LargePlainSequence +{ + sequence var_large_plain_sequence; +}; + // Regression test for issue #21978. //{{{ module Common_Module