Ceedling icon indicating copy to clipboard operation
Ceedling copied to clipboard

Mocking Variable Length Array (VLA) not working

Open parmi93 opened this issue 1 year ago • 2 comments

void read(size_t buff_size, char (*buffer)[buff_size]);

The auto-generated code for the mocking of this type of functions does not work.

image

parmi93 avatar May 16 '24 11:05 parmi93

Is there any plan to support that?

parmi93 avatar Aug 14 '24 12:08 parmi93

Yes. Arrays and pointers are getting a big overhaul in the next major release. Both are insufficient as they only handle the most common cases.

mvandervoord avatar Aug 14 '24 12:08 mvandervoord