ThrowTheSwitch / Ceedling

Ruby-based unit testing and build system for C projects
http://throwtheswitch.org
Other
577 stars 243 forks source link

Mocking Variable Length Array (VLA) not working #892

Open parmi93 opened 3 months ago

parmi93 commented 3 months ago
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 commented 4 weeks ago

Is there any plan to support that?

mvandervoord commented 4 weeks ago

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.