Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mocking Variable Length Array (VLA) not working #892

Open
parmi93 opened this issue May 16, 2024 · 2 comments
Open

Mocking Variable Length Array (VLA) not working #892

parmi93 opened this issue May 16, 2024 · 2 comments

Comments

@parmi93
Copy link

parmi93 commented May 16, 2024

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
Copy link
Author

parmi93 commented Aug 14, 2024

Is there any plan to support that?

@mvandervoord
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants