* EOControl/EOPrivate.h

do not access the isa directly, use object_getClass



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36293 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
buzzdee 2013-03-07 10:29:19 +00:00
parent d06cc7b3a9
commit a025d6732f
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
2013-03-07: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* EOControl/Makefile.preamble
add -std=gnu89 to allow compile with clang and -O0
* EOControl/EOPrivate.h
do not access the isa directly, use object_getClass
2013-03-02: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Apps/EOModelEditor/EOMEDocument.m

View file

@ -116,7 +116,7 @@ _isNilOrEONull(id obj)
//See also EOControl/EOFault.m
#define _isFault(v) \
(((v)==nil) ? NO : ((((EOFault*)(v))->isa == GDL2_EOFaultClass) ? YES : NO))
(((v)==nil) ? NO : ((object_getClass((EOFault*)(v)) == GDL2_EOFaultClass) ? YES : NO))
// ---- +alloc/+allocWithZone: ----
#define GDL2_alloc(CLASS_NAME) \