0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/zig
Evan Haas 0e7897a9a2 translate-c: Remove usage of extern enum
Translate enum types as the underlying integer type. Translate enum constants
as top-level integer constants of the correct type (which does not necessarily
match the enum integer type).

If an enum constant's type cannot be translated for some reason, omit it.

See discussion https://github.com/ziglang/zig/issues/2115#issuecomment-827968279

Fixes #9153
History 2021-06-23 08:44:25 +03:00
..
system fix code broken from previous commit 2021-06-21 17:03:03 -07:00
ast.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
c_builtins.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
c_translation.zig translate-c: Remove usage of extern enum 2021-06-23 08:44:25 +03:00
cross_target.zig make "gnu" (mingw-w64) the default C ABI on Windows 2021-05-24 00:13:54 -04:00
fmt.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
parse.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
parser_test.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
perf_test.zig std: modernize zig parser perf test 2021-04-06 22:34:48 -07:00
render.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
string_literal.zig stage1: rework tokenizer to match stage2 2021-05-28 12:58:40 -07:00
system.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
tokenizer.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00