{mach,gpu}: more undef/nul -> undefined/null renames (#638)

Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
BratishkaErik 2022-12-15 07:20:11 +06:00 committed by GitHub
parent 81fce62133
commit b1191cbeb5
Failed to generate hash of commit
2 changed files with 1 additions and 3 deletions

View file

@ -215,8 +215,6 @@ The rules for translating `webgpu.h` are as follows:
* As a result, a `null`able `Buffer` is represented simply as `?*Buffer`, and any function that would normally take `WGPUBuffer` now takes `*Buffer` as a parameter.
* `WGPUBufferBindingType` -> `gpu.Buffer.BindingType` (purely because it's prefix matches an opaque pointer type, it thus goes into the `Buffer` opaque type.)
* Reserved Zig keywords are translated as follows:
* `undefined` -> `undef`
* `null` -> `nul`
* `error` -> `err`
* `type` -> `typ`
* `opaque` -> `opaq`