[INTERPRETER]

* BUG: Fix building when DEBUG_EVENT is defined.


git-svn-id: svn://localhost/gambas/trunk@2813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2010-03-19 16:31:50 +00:00
parent db9f0f66b4
commit a289c402b1

View file

@ -551,7 +551,7 @@ int GB_Raise(void *object, int event_id, int nparam, ...)
if (func_id) if (func_id)
{ {
#if DEBUG_EVENT #if DEBUG_EVENT
class = OBJECT_class(object); CLASS *class = OBJECT_class(object);
printf("GB_Raise(%p, %d, %s)\n", object, event_id, class->event[event_id].name); printf("GB_Raise(%p, %d, %s)\n", object, event_id, class->event[event_id].name);
printf("func_id = %d parent = (%s %p)\n", func_id, parent->class->name, parent); printf("func_id = %d parent = (%s %p)\n", func_id, parent->class->name, parent);
if (OBJECT_is_locked(parent)) if (OBJECT_is_locked(parent))