const fixes for allegro module usage

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-08-24 21:48:46 +00:00
commit 8f1a476448
3 changed files with 5 additions and 5 deletions

View file

@ -512,7 +512,7 @@ static SwigType *strip_arrays(SwigType *type) {
* ----------------------------------------------------------------------------- */
Hash *
Swig_typemap_search(const String_or_char *op, SwigType *type, String_or_char *name, SwigType **matchtype) {
Swig_typemap_search(const String_or_char *op, SwigType *type, const String_or_char *name, SwigType **matchtype) {
Hash *result = 0, *tm, *tm1, *tma;
Hash *backup = 0;
SwigType *noarrays = 0;
@ -520,7 +520,7 @@ Swig_typemap_search(const String_or_char *op, SwigType *type, String_or_char *na
SwigType *ctype = 0;
int ts;
int isarray;
String *cname = 0;
const String *cname = 0;
SwigType *unstripped = 0;
String *tmop = tmop_name(op);