Interface to C functions on mruby. it's based on libffi.
When you use in your project, please add below to your
conf.gem 'path/to/here' do |g| # g.use_pkg_config # use pkg-config for libffi linking # g.download_libffi # download and link latest libffi # if your libffi is installed in a non standard path # g.cc.include_paths << '[...]/include' # g.linker.library_paths << '[...]/lib' end
If you want to run tests, please run below command.
- Improve error handling
- Support anonymous struct
Feel free to open tickets or send pull requests with improvements. Thanks in advance for your help!
Original Authors "MobiRuby developers" are https://github.com/mobiruby/mobiruby-ios/tree/master/AUTHORS
See Copyright Notice in cfunc.h.