mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-09-01 15:09:19 +00:00
1
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
// Redefine these macros so argument index for ruby is done properly,
|
||||
// ignoring self and we get some more info about the input.
|
||||
#define %argfail_fmt(_type,_name,_argn) Ruby_Format_TypeError( "", _type, #_name, _argn, $input )
|
||||
|
||||
#define %argnullref_fmt(_type,_name,_argn) Ruby_Format_TypeError(%nullref_fmt(), _type, #_name, _argn, $input)
|
||||
|
||||
%{
|
||||
#define SWIG_RUBY_THREAD_BEGIN_BLOCK
|
||||
#define SWIG_RUBY_THREAD_END_BLOCK
|
||||
%}
|
||||
|
||||
%include <typemaps/swigmacros.swg>
|
||||
Reference in New Issue
Block a user