rubymacros.swg 456 B

12345678910111213
  1. // Redefine these macros so argument index for ruby is done properly,
  2. // ignoring self and we get some more info about the input.
  3. #define %argfail_fmt(_type,_name,_argn) Ruby_Format_TypeError( "", _type, #_name, _argn, $input )
  4. #define %argnullref_fmt(_type,_name,_argn) Ruby_Format_TypeError(%nullref_fmt(), _type, #_name, _argn, $input)
  5. %{
  6. #define SWIG_RUBY_THREAD_BEGIN_BLOCK
  7. #define SWIG_RUBY_THREAD_END_BLOCK
  8. %}
  9. %include <typemaps/swigmacros.swg>