mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-04-22 12:55:44 +00:00
* 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:
parent
d06cc7b3a9
commit
a025d6732f
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue