[INTERPRETER]
* BUG: The GB.GetFunction() API now correctly returns static functions. git-svn-id: svn://localhost/gambas/trunk@5040 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
684e7bbfb5
commit
8dd0b1dd93
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ bool GB_GetFunction(GB_FUNCTION *_func, void *object, const char *name, const ch
|
|||
}
|
||||
}
|
||||
|
||||
func->object = object;
|
||||
func->object = kind == CD_STATIC_METHOD ? NULL : object;
|
||||
func->desc = &desc->method;
|
||||
|
||||
if (!func->desc)
|
||||
|
|
Loading…
Reference in a new issue