upgrade enum discriminants
This commit is contained in:
@@ -93,7 +93,12 @@ pointer-only. Header imports never add linker inputs; implementations must still
|
||||
be supplied explicitly with the C-prefixed linking options. Set
|
||||
`BROLANG_LIBCLANG_PATH` when libclang is not installed in a standard location.
|
||||
For offline bindings, `brolang --translate-c stdio.h` resolves standard C
|
||||
headers through the Zig libc headers used by the backend.
|
||||
headers through the Zig libc headers used by the backend. Multiple headers can
|
||||
be generated into one deduplicated package:
|
||||
|
||||
```sh
|
||||
brolang --translate-c stdio.h stdlib.h unistd.h fcntl.h errno.h --output-dir ffi/c
|
||||
```
|
||||
|
||||
```bro
|
||||
native :: import "../include/native.h"
|
||||
|
||||
Reference in New Issue
Block a user