diff options
| author | Cody Tapscott <topolarity@tapscott.me> | 2022-02-16 11:40:33 -0700 |
|---|---|---|
| committer | Cody Tapscott <topolarity@tapscott.me> | 2022-02-16 12:57:11 -0700 |
| commit | 1639fd4c45ee816c7c67963fbff3513a32f5737b (patch) | |
| tree | e39a4ed7294dbe274d296484485eedadf91ac17d /test/behavior/while.zig | |
| parent | c4baa6696e3580455438c756a023cafe645b91b5 (diff) | |
| download | zig-1639fd4c45ee816c7c67963fbff3513a32f5737b.tar.gz zig-1639fd4c45ee816c7c67963fbff3513a32f5737b.zip | |
Fix 2D array support for C backend
This updates the C backend to use proper array types.
In order to do that, this commit also:
- fixes up elem_ptr and field_ptr handling
- adds `renderTypecast` (renders in C typecast format, e.g. "int* [10]")
- adds a bit special handling for undefined pointers, which is necessary
to support slice/elem_ptr to undefined decls
Diffstat (limited to 'test/behavior/while.zig')
0 files changed, 0 insertions, 0 deletions
