Documentation API PERL

From RLIB

Jump to: navigation, search

The Perl API is essentially the same as the C Language API. Every Perl script using RLIB must start with:

    #!/usr/bin/perl -w
    use rlib;

Initializing an RLIB structure is done by:

    $r = rlib::rlib_init();

The language pattern is like this. Wherever an RLIB call appears, the function name is the same as in the C Language API. The function needs to be prefixed with rlib:: to indicate that it's function in RLIB.

Personal tools