PageRenderTime 24ms CodeModel.GetById 20ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1.3.35/Lib/ruby/rubymacros.swg

#
Unknown | 13 lines | 9 code | 4 blank | 0 comment | 0 complexity | 4d3f15e0fa52eace944efb90df014f76 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1
 2// Redefine these macros so argument index for ruby is done properly,
 3// ignoring self and we get some more info about the input.
 4#define %argfail_fmt(_type,_name,_argn) Ruby_Format_TypeError( "", _type, #_name, _argn, $input )
 5
 6#define %argnullref_fmt(_type,_name,_argn) Ruby_Format_TypeError(%nullref_fmt(), _type, #_name, _argn, $input)
 7
 8%{
 9#define SWIG_RUBY_THREAD_BEGIN_BLOCK
10#define SWIG_RUBY_THREAD_END_BLOCK
11%}
12
13%include <typemaps/swigmacros.swg>