Moved the GC_VALUE class over to rubystdcommon
so that it will only get added when STL is used. Documented swig_assert interface. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a100f16bbd
commit
293750eaea
4 changed files with 46 additions and 17 deletions
|
|
@ -53,11 +53,6 @@
|
|||
* ------------------------------------------------------------ */
|
||||
%include <rubyopers.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* The Ruby classes, for C++
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyclasses.swg>
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
* Warnings for Ruby keywords
|
||||
* ------------------------------------------------------------ */
|
||||
|
|
|
|||
|
|
@ -41,10 +41,12 @@ namespace swig {
|
|||
VALUE to_s() const;
|
||||
};
|
||||
|
||||
%exception GC_VALUE {};
|
||||
|
||||
%apply VALUE {GC_VALUE};
|
||||
|
||||
/* For input */
|
||||
%typemap(in,noblock=1) GC_VALUE* (GC_VALUE r), GC_VALUE& (GC_VALUE r) {
|
||||
%typemap(in,noblock=1) GC_VALUE* (GC_VALUE r), GC_VALUE& (GC_VALUE r) {
|
||||
r = $input; $1 = &r;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
|
||||
/* ------------------------------------------------------------
|
||||
* The Ruby classes, for C++
|
||||
* ------------------------------------------------------------ */
|
||||
%include <rubyclasses.swg>
|
||||
|
||||
%fragment("StdTraits","header",fragment="StdTraitsCommon")
|
||||
{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue