Questions tagged [ruby-ffi]

Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code.

Ruby-FFI is a ruby extension for programmatically loading dynamic libraries, binding functions within them, and calling those functions from Ruby code. It works without changes on Ruby and JRuby.

31 questions
0
votes
1 answer

FFI - Attach function with argument type FILE?

How would I wrap a function that accepts an argument of type FILE using FFI in Ruby? int fprintf ( FILE * stream, const char * format, ... );
RyanScottLewis
  • 13,396
  • 16
  • 56
  • 84
1 2
3