[INTERPRETER]
* BUG: Fix incorrect optimizations used by the _operator interface management routines. git-svn-id: svn://localhost/gambas/trunk@5015 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
aab10df306
commit
b995e09e22
@ -57,7 +57,7 @@ typedef
|
||||
#define OBJECT_count(_object) (((OBJECT *)_object)->ref)
|
||||
|
||||
#define OBJECT_are_null(_o1, _o2) (((intptr_t)(_o1) | (intptr_t)(_o2)) == 0)
|
||||
#define OBJECT_are_not_null(_o1, _o2) (((intptr_t)(_o1) & (intptr_t)(_o2)) != 0)
|
||||
#define OBJECT_are_not_null(_o1, _o2) ((_o1) && (_o2))
|
||||
|
||||
void *OBJECT_new(CLASS *class, const char *name, OBJECT *parent);
|
||||
void OBJECT_attach(OBJECT *ob, OBJECT *parent, const char *name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user