-
Notifications
You must be signed in to change notification settings - Fork 0
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
'zargv' review #4
Comments
I'm excited about this one. Hopefully can test later. One thing that I immediately noticed is that you hardcore the pool size. You can pass a tail argument to the outer strucure instead like: struct Anything+ { Now you can construct Anything+poolsize |
I thought about allowing that at first, but I found it awkward to come up with all the bytes you might need in order to parse command line arguments. Allocations are used for |
Still getting used to the heapless world so I may be completely off base here |
https://github.com/zx-project/zx/tree/master/modules/zargv
cc @aep
The text was updated successfully, but these errors were encountered: