Sha256: 641dd2577fbdf15e4d8fb0140b29f216ab650fa91ca1f06b87b7e73549488e3f

Contents?: true

Size: 588 Bytes

Versions: 2

Compression:

Stored size: 588 Bytes

Contents

/*
  Copyright 2008 Suraj N. Kurapati
  See the file named LICENSE for details.
*/

#include "binding.h"
#include "swig.cin" // SWIG generated bindings for VPI

void RubyVPI_binding_init()
{
    Init_VPI();

    // some compilers have trouble with pointers to the va_list
    // type.  See ext/Rakefile and the user manual for details
    rb_define_alias(mVPI, "vpi_vprintf", "vpi_printf");
    rb_define_alias(mVPI, "vpi_mcd_vprintf", "vpi_mcd_printf");
}

VALUE RubyVPI_binding_rubify_callback(p_cb_data aCallback)
{
    return SWIG_NewPointerObj(aCallback, SWIGTYPE_p_t_cb_data, 0);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-vpi-21.1.0 ext/binding.c
ruby-vpi-21.0.0 ext/binding.c