'const' for parameters of addSymbol

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Henning Thielemann 2004-03-18 19:00:23 +00:00
commit b6cf16db6d

View file

@ -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);