diff options
author | Henning Thielemann <swig@henning-thielemann.de> | 2004-03-18 19:00:23 +0000 |
---|---|---|
committer | Henning Thielemann <swig@henning-thielemann.de> | 2004-03-18 19:00:23 +0000 |
commit | b6cf16db6da45d24793510859bdd1ff3cc9fcf1d (patch) | |
tree | c936c17f74b88e72f58d4cab29daaa4e655fc221 /Source/Modules/swigmod.h | |
parent | a5a254d7fa86d034a204167d391ca8daaed22835 (diff) | |
download | swig-b6cf16db6da45d24793510859bdd1ff3cc9fcf1d.tar.gz |
'const' for parameters of addSymbol
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules/swigmod.h')
-rw-r--r-- | Source/Modules/swigmod.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Modules/swigmod.h b/Source/Modules/swigmod.h index 274264432..ad508baed 100644 --- a/Source/Modules/swigmod.h +++ b/Source/Modules/swigmod.h @@ -208,11 +208,11 @@ public: /* Miscellaneous */ - virtual int validIdentifier(String *s); /* valid identifier? */ - virtual int addSymbol(String *s, Node *n); /* Add symbol */ - virtual Node *symbolLookup(String *s); /* Symbol lookup */ - virtual Node *classLookup(SwigType *s); /* Class lookup */ - virtual int abstractClassTest(Node *n); /* Is class really abstract? */ + virtual int validIdentifier(String *s); /* valid identifier? */ + virtual int addSymbol(const String *s, const Node *n); /* Add symbol */ + virtual Node *symbolLookup(String *s); /* Symbol lookup */ + virtual Node *classLookup(SwigType *s); /* Class lookup */ + virtual int abstractClassTest(Node *n); /* Is class really abstract? */ /* Allow director related code generation */ void allow_directors(int val = 1); |