ext/swig_vpi.i in ruby-vpi-20.0.0 vs ext/swig_vpi.i in ruby-vpi-21.0.0
- old
+ new
@@ -1,17 +1,17 @@
%module VPI
/* Parse the header file to generate wrappers */
%{
-#include "swig_vpi.h"
+ #include "swig_vpi.h"
%}
%include "swig_vpi.h"
-/* Allows us set the VPI callback handler in Ruby:
+/* Allow the VPI callback handler function to be set from Ruby:
- data = S_cb_data.new
- data.cb_rtn = VPI::Vlog_relay_ruby
+ data = S_cb_data.new
+ data.cb_rtn = VPI::RubyVPI_user_resume
*/
%{
-#include "vlog.h"
+ #include "user.h"
%}
-%constant PLI_INT32 vlog_relay_ruby(struct t_cb_data *);
+%constant PLI_INT32 RubyVPI_user_resume(p_cb_data);