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
|
|
@ -3,12 +3,11 @@
|
|||
* The Ruby classes, for C++
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyclasses.swg>
|
||||
%include <rubystdcommon_forward.swg>
|
||||
|
||||
%fragment("StdTraits","header",fragment="StdTraitsCommon")
|
||||
%fragment("StdTraits","header",fragment="StdTraitsCommon",fragment="StdTraitsForwardDeclaration")
|
||||
{
|
||||
|
||||
%#define SWIG_RUBYSTDCOMMON
|
||||
|
||||
namespace swig {
|
||||
/*
|
||||
Traits that provides the from method
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue