summaryrefslogtreecommitdiff
path: root/Source/Modules/swigmod.h
diff options
context:
space:
mode:
authorHenning Thielemann <swig@henning-thielemann.de>2004-03-18 19:00:23 +0000
committerHenning Thielemann <swig@henning-thielemann.de>2004-03-18 19:00:23 +0000
commitb6cf16db6da45d24793510859bdd1ff3cc9fcf1d (patch)
treec936c17f74b88e72f58d4cab29daaa4e655fc221 /Source/Modules/swigmod.h
parenta5a254d7fa86d034a204167d391ca8daaed22835 (diff)
downloadswig-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.h10
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);