Thursday, February 24, 2011

Tuesday, February 1, 2011

Libperseus now in Ruby

The Perseus library is now available as a Ruby binding written by Fabien Jobin.
It is based on ffi.

The archive contains two files:
* ffi-perseus.rb
* perseus_test.rb

The binding is made by ffi-perseus. It contains four functions only (to make its
use as simple as possible):
* perseus_init
* perseus_code
* perseus_decode
* perseus_destroy
as well as the parameter structure.

The perseus_test.rb file shows how to use everything.

Have fun with it