[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:
Benoît Minisini 2012-08-14 10:07:29 +00:00
parent 684e7bbfb5
commit 8dd0b1dd93

View file

@ -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)