https://github.com/simolus3/build_ffi_generator
Builder to generate Dart ffi bindings from a textual description
https://github.com/simolus3/build_ffi_generator
Last synced: about 1 month ago
JSON representation
Builder to generate Dart ffi bindings from a textual description
- Host: GitHub
- URL: https://github.com/simolus3/build_ffi_generator
- Owner: simolus3
- Created: 2020-05-25T20:47:22.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-01T15:21:12.000Z (about 5 years ago)
- Last Synced: 2025-03-20T05:23:54.224Z (about 1 year ago)
- Language: Dart
- Size: 17.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# build_ffi_generator
Use this package to generate `dart:ffi` bindings.
## Types
The following types are supported:
- `opaque struct`
- `int`, where `N` is one of `8, 16, 32, 64`.
- `uint`, where `N` is one of `8, 16, 32, 64`.
- `float`
- `double`
- `int`, which is equivalent to `int32`
- `size_t`
## TODO
- Don't require argument names