Sha256: 7eea67696110b70e45a1b3ea70c1e9ab467395e06abbfbbe64707f194d49f702

Contents?: true

Size: 333 Bytes

Versions: 36

Compression:

Stored size: 333 Bytes

Contents

//-*-c++-*-
// Template of a C++ Method stub, the function used to convert the
// parameters from Ruby objects to C++, and then call the real C++ function.

!function_prototype! {
  !c_class_name!* tmp = ruby2!class_varcname!Ptr(self);
  if ( ! tmp ) return Qnil;

  // The exception is thrown already by ruby2*

  !function_call!
}

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
gecoder-with-gecode-1.1.1.1 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-with-gecode-1.1.1 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-1.1.1 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-with-gecode-1.1.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-1.1.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-with-gecode-0.8.3-mswin32 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-with-gecode-0.8.2-mswin32 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-with-gecode-0.8.1-mswin32 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-with-gecode-0.8.0-mswin32 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-with-gecode-0.7.1-mswin32 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.4.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.2.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.3.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.5.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.8.3 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.8.2 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.8.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.8.1 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.7.1 vendor/rust/rust/templates/CxxMethodStub.rusttpl
gecoder-0.6.0 vendor/rust/rust/templates/CxxMethodStub.rusttpl