Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

c2ffi4rb

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c2ffi4rb

  • 0.0.5
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

c2ffi4rb

Gem Version test

c2ffi - FFI binding generator - for Ruby

installation

gem install c2ffi4rb

Usage

First, produce a spec file using c2ffi.

c2ffi -M macros.h -o example.json example.h
c2ffi -o macros.json example.h macros.h

Next, use c2ffi4rb to generate ruby code.

c2ffi4rb example.json macro.json > simple.rb

Finally, improve simple.rb manually to complete the binding.

Development

To run tests, install c2ffi, Cairo, and pkg-config in advance. Then execute rake test.

Licence

  • LGPL-2

FAQs

Package last updated on 29 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc