fix ConstMethods order for ruby

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-11-02 22:45:29 +00:00
commit 34a5893881

View file

@ -180,12 +180,6 @@ Klass constructorcall(const Klass& k = Klass()) { return k; }
}
%}
// const methods
// runtime test needed to check that the const method is called
struct ConstMethods {
int coo(double d = 0.0) const;
};
%{
struct ConstMethods {
int coo(double d = 0.0) { return 10; }
@ -193,6 +187,13 @@ struct ConstMethods {
};
%}
// const methods
// runtime test needed to check that the const method is called
struct ConstMethods {
int coo(double d = 0.0) const;
};
// Default args with C linkage
%inline