'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:
parent
a5a254d7fa
commit
b6cf16db6d
1 changed files with 5 additions and 5 deletions
|
|
@ -208,11 +208,11 @@ public:
|
||||||
|
|
||||||
/* Miscellaneous */
|
/* Miscellaneous */
|
||||||
|
|
||||||
virtual int validIdentifier(String *s); /* valid identifier? */
|
virtual int validIdentifier(String *s); /* valid identifier? */
|
||||||
virtual int addSymbol(String *s, Node *n); /* Add symbol */
|
virtual int addSymbol(const String *s, const Node *n); /* Add symbol */
|
||||||
virtual Node *symbolLookup(String *s); /* Symbol lookup */
|
virtual Node *symbolLookup(String *s); /* Symbol lookup */
|
||||||
virtual Node *classLookup(SwigType *s); /* Class lookup */
|
virtual Node *classLookup(SwigType *s); /* Class lookup */
|
||||||
virtual int abstractClassTest(Node *n); /* Is class really abstract? */
|
virtual int abstractClassTest(Node *n); /* Is class really abstract? */
|
||||||
|
|
||||||
/* Allow director related code generation */
|
/* Allow director related code generation */
|
||||||
void allow_directors(int val = 1);
|
void allow_directors(int val = 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue