use forward declaration to treat the dependency of fragments
This commit is contained in:
parent
377d439964
commit
b32854bc59
4 changed files with 35 additions and 16 deletions
14
Lib/ruby/rubystdcommon_forward.swg
Normal file
14
Lib/ruby/rubystdcommon_forward.swg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
%fragment("StdTraitsForwardDeclaration","header")
|
||||
{
|
||||
namespace swig {
|
||||
template <class Type> struct traits_asptr;
|
||||
template <class Type> struct traits_asval;
|
||||
struct pointer_category;
|
||||
template <class Type, class Category> struct traits_as;
|
||||
template<class Type> struct traits_from;
|
||||
template <class Type> struct noconst_traits;
|
||||
template <class Type> swig_type_info* type_info();
|
||||
template <class Type> const char* type_name();
|
||||
template <class Type> VALUE from(const Type& val);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue