Sha256: b04ca825e7946526f21f98a9694f461f52353d4647ff7d713e7152d2378de865

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

/*
  Copyright 2008 Suraj N. Kurapati
  See the file named LICENSE for details.
*/
///\file Ruby bindings for the VPI library.

#ifndef BINDING_H
#define BINDING_H

    #include "verilog.h"
    #include <ruby.h>

    ///
    /// Initializes the Ruby bindings.
    ///
    /// This function must be called ONLY from the
    /// main C process (NOT from inside a thread).
    ///
    /// Also, this function must be called ONLY
    /// after RubyVPI_roobee_init() has been called.
    ///
    void RubyVPI_binding_init();

    ///
    /// Converts the given VPI callback structure into a Ruby value.
    ///
    VALUE RubyVPI_binding_rubify_callback(p_cb_data aCallback);

#endif

Version data entries

2 entries across 2 versions & 1 rubygems

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