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:
Gonzalo Garramuno 2007-05-01 01:21:26 +00:00
commit 293750eaea
4 changed files with 46 additions and 17 deletions

View file

@ -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;
}