Changed the class name "Object" to "AbstractBaseClass" in the
abstract_typedef.i example, since there is a built-in class named Object for Ruby. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c6be032563
commit
f8bbede220
1 changed files with 2 additions and 2 deletions
|
|
@ -6,13 +6,13 @@
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Object
|
struct AbstractBaseClass
|
||||||
{
|
{
|
||||||
virtual bool write(Engine& archive) const = 0;
|
virtual bool write(Engine& archive) const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef Engine PersEngine;
|
typedef Engine PersEngine;
|
||||||
typedef Object PersClassBase;
|
typedef AbstractBaseClass PersClassBase;
|
||||||
|
|
||||||
|
|
||||||
class A : public PersClassBase
|
class A : public PersClassBase
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue