Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions IDL/arrays.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};
14 changes: 14 additions & 0 deletions IDL/helpers/basic_inner_types.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
6 changes: 6 additions & 0 deletions IDL/sequences.idl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ struct BoundedBigSequences
sequence<string, 256> var_unbounded_string_large_bounded_sequence;
};

@extensibility(FINAL)
struct LargePlainSequence
{
sequence<InnerPlainStructHelper, 6291456> var_large_plain_sequence;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also add an unbounded sequence of this type somewhere.

};

// Regression test for issue #21978.
//{{{
module Common_Module
Expand Down