git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
45 lines
1.6 KiB
C
45 lines
1.6 KiB
C
/*************************************************************** -*- c -*-
|
|
* ruby/precommon.swg
|
|
*
|
|
* Rename all exported symbols from common.swg, to avoid symbol
|
|
* clashes if multiple interpreters are included
|
|
*
|
|
************************************************************************/
|
|
|
|
#define SWIG_TypeRegister SWIG_Ruby_TypeRegister
|
|
#define SWIG_TypeCheck SWIG_Ruby_TypeCheck
|
|
#define SWIG_TypeCast SWIG_Ruby_TypeCast
|
|
#define SWIG_TypeDynamicCast SWIG_Ruby_TypeDynamicCast
|
|
#define SWIG_TypeName SWIG_Ruby_TypeName
|
|
#define SWIG_TypeQuery SWIG_Ruby_TypeQuery
|
|
#define SWIG_TypeClientData SWIG_Ruby_TypeClientData
|
|
#define SWIG_PackData SWIG_Ruby_PackData
|
|
#define SWIG_UnpackData SWIG_Ruby_UnpackData
|
|
|
|
/* Also rename all exported symbols from rubydef.swig */
|
|
|
|
/* Common SWIG API */
|
|
#define SWIG_ConvertPtr(obj, pp, type, flags) \
|
|
SWIG_Ruby_ConvertPtr(obj, pp, type, flags)
|
|
#define SWIG_NewPointerObj(p, type, flags) \
|
|
SWIG_Ruby_NewPointerObj(p, type, flags)
|
|
#define SWIG_MustGetPtr(p, type, argnum, flags) \
|
|
SWIG_Ruby_MustGetPtr(p, type, argnum, flags)
|
|
|
|
/* Ruby-specific SWIG API */
|
|
|
|
#define SWIG_InitRuntime() \
|
|
SWIG_Ruby_InitRuntime()
|
|
#define SWIG_define_class(ty) \
|
|
SWIG_Ruby_define_class(ty)
|
|
#define SWIG_NewClassInstance(value, ty) \
|
|
SWIG_Ruby_NewClassInstance(value, ty)
|
|
#define SWIG_MangleStr(value) \
|
|
SWIG_Ruby_MangleStr(value)
|
|
#define SWIG_CheckConvert(value, ty) \
|
|
SWIG_Ruby_CheckConvert(value, ty)
|
|
#define SWIG_NewPackedObj(ptr, sz, ty) \
|
|
SWIG_Ruby_NewPackedObj(ptr, sz, ty)
|
|
#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
|
|
SWIG_Ruby_ConvertPacked(obj, ptr, sz, ty, flags)
|
|
|