const fixes for allegro module usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
92b365d87d
commit
0b7b1edad1
3 changed files with 5 additions and 5 deletions
|
|
@ -188,7 +188,7 @@ void emit_attach_parmmaps(ParmList *l, Wrapper *f) {
|
|||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* emit_num_arguments() ** new in 1.3.10
|
||||
* emit_num_arguments()
|
||||
*
|
||||
* Calculate the total number of arguments. This function is safe for use
|
||||
* with multi-valued typemaps which may change the number of arguments in
|
||||
|
|
@ -220,7 +220,7 @@ int emit_num_arguments(ParmList *parms) {
|
|||
}
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* emit_num_required() ** new in 1.3.10
|
||||
* emit_num_required()
|
||||
*
|
||||
* Computes the number of required arguments. This is function is safe for
|
||||
* use with multi-valued typemaps and knows how to skip over everything
|
||||
|
|
|
|||
|
|
@ -484,7 +484,7 @@ extern int Swig_typemap_apply(ParmList *srcpat, ParmList *destpat);
|
|||
extern void Swig_typemap_clear_apply(ParmList *pattern);
|
||||
extern void Swig_typemap_debug();
|
||||
|
||||
extern Hash *Swig_typemap_search(const String_or_char *op, SwigType *type, String_or_char *pname, SwigType **matchtype);
|
||||
extern Hash *Swig_typemap_search(const String_or_char *op, SwigType *type, const String_or_char *pname, SwigType **matchtype);
|
||||
extern Hash *Swig_typemap_search_multi(const String_or_char *op, ParmList *parms, int *nmatch);
|
||||
extern String *Swig_typemap_lookup(const String_or_char *op, SwigType *type, String_or_char *pname, String_or_char *lname,
|
||||
String_or_char *source, String_or_char *target, Wrapper *f);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue