ruby's index properly. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
11 lines
326 B
Text
11 lines
326 B
Text
|
|
// Redefine these macros so argument index for ruby is done properly,
|
|
// ignoring self.
|
|
#define %argfail_fmt(_type,_name,_argn) \
|
|
Ruby_Format_TypeError( "", _type, #_name, _argn )
|
|
|
|
#define %argnullref_fmt(_type,_name,_argn) \
|
|
Ruby_Format_TypeError(%nullref_fmt(), _type, #_name, _argn)
|
|
|
|
|
|
%include <typemaps/swigmacros.swg>
|