mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-17 01:11:45 +00:00
Handle method parameters that use incomplete types.
Compare the method's type pointers rather than the type strings as the pointer won't change with the struct is completed.
This commit is contained in:
parent
e28ee0378f
commit
9a3f4d5a01
1 changed files with 1 additions and 2 deletions
|
@ -216,8 +216,7 @@ method_compare (method_t *m1, method_t *m2)
|
|||
{
|
||||
if (m1->instance != m2->instance)
|
||||
return 0;
|
||||
return strcmp (m1->name, m2->name) == 0
|
||||
&& strcmp (m1->types, m2->types) == 0;
|
||||
return strcmp (m1->name, m2->name) == 0 && m1->type == m2->type;
|
||||
}
|
||||
|
||||
keywordarg_t *
|
||||
|
|
Loading…
Reference in a new issue