ext/swig_vpi.i in ruby-vpi-18.0.2 vs ext/swig_vpi.i in ruby-vpi-19.0.0

- old
+ new

@@ -1,13 +1,17 @@ -%module vpi +%module VPI /* Parse the header file to generate wrappers */ %{ #include "swig_vpi.h" %} %include "swig_vpi.h" -/* allows us to set S_cb_data.cb_rtn = Vpi::Vlog_relay_ruby in Ruby */ +/* Allows us set the VPI callback handler in Ruby: + + data = S_cb_data.new + data.cb_rtn = VPI::Vlog_relay_ruby +*/ %{ #include "vlog.h" %} %constant PLI_INT32 vlog_relay_ruby(struct t_cb_data *);