https://github.com/iolanguage/cffi
https://github.com/iolanguage/cffi
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iolanguage/cffi
- Owner: IoLanguage
- License: bsd-3-clause
- Created: 2018-03-11T11:51:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T13:58:43.000Z (about 8 years ago)
- Last Synced: 2025-12-29T22:23:20.295Z (6 months ago)
- Language: C
- Size: 206 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CFFI
A C function interface for Io.
# Installation
`libffi` should be installed and foundable in your system. Then:
```
eerie install https://github.com/IoLanguage/CFFI.git
```
If you have problems on macOS try to install `libffi` with brew and forcefully link it:
```
brew install libffi
brew ln --force libffi
```
## TODO
- Bitfields
- Endianness
- Variable length arrays
- Stronger type/error checking
- Variadic functions
- stdcalls
- struct/union member alignment option (pack)
- 64 bit types
- More and more unit tests
- ...