Renamed Language::SetNoneComparison() to setSubclassInstanceCheck(),

because that name better reflects what the function's trying to accomplish
(test whether the object for which the constructor's being called is an
instance of the class, or an instance of one of its subclasses).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Logan Johnson 2003-04-28 22:35:52 +00:00
commit bb521ec9b2
4 changed files with 7 additions and 8 deletions

View file

@ -375,7 +375,7 @@ public:
virtual int top(Node *n) {
/* Set comparison with none for ConstructorToFunction */
SetNoneComparison( NewString( "argv[0] != Val_unit" ) );
setSubclassInstanceCheck(NewString("argv[0] != Val_unit"));
/* check if directors are enabled for this module. note: this
* is a "master" switch, without which no director code will be