updates for latest base library changes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@15173 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-11-28 15:34:15 +00:00
parent 0d968e6a3d
commit 4844a2f395
4 changed files with 12 additions and 7 deletions

View file

@ -1,6 +1,10 @@
2002-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* EOAccess/EOEntity.m: Patch by David Ayers.
* EOAccess/EOExpressionArray.m: Update for latest GSObjCRuntime stuff.
* EOControl/EOGenericRecord.m: ditto
* Tools/Makefile.preamble: Fix library lookup for link
2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -43,7 +43,7 @@ static char rcsId[] = "$Id$";
#import <Foundation/NSDate.h>
#import <Foundation/NSException.h>
#include <gnustep/base/behavior.h>
#include <gnustep/base/GSObjCRuntime.h>
#import <EOAccess/EOAccess.h>
#import <EOAccess/EOEntity.h>
@ -52,14 +52,14 @@ static char rcsId[] = "$Id$";
@implementation EOExpressionArray
+ (void)initialize
+ (void) initialize
{
static BOOL initialized = NO;
if (!initialized)
{
initialized = YES;
behavior_class_add_class(self, [GCArray class]);
GSObjCAddClassBehavior(self, [GCArray class]);
}
}

View file

@ -41,6 +41,7 @@ static char rcsId[] = "$Id$";
#import <Foundation/NSArray.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSObjCRuntime.h>
#import <gnustep/base/GSObjCRuntime.h>
#import <EOAccess/EOEntity.h>
#import <EOAccess/EORelationship.h>
@ -192,7 +193,7 @@ static const char _c_id[2] = { _C_ID, NULL };
retSize:size
retOffset:offset];
*/
ok = GSFindInstanceVariable(self, [name cString], type, size, offset);
ok = GSObjCFindInstanceVariable(self, [name cString], type, size, offset);
EOFLOGObjectLevelArgs(@"EOGenericRecordKVC",
@"Super InstanceVar named %@:%s",
@ -258,7 +259,7 @@ static const char _c_id[2] = { _C_ID, NULL };
size:size
offset:offset];*/
value = GSGetValue(self, aKey, sel, type, size, offset);
value = GSObjCGetValue(self, aKey, sel, type, size, offset);
EOFLOGObjectLevelArgs(@"EOGenericRecordKVC", @"value %p (class=%@)",
value, [value class]);
}
@ -299,7 +300,7 @@ static const char _c_id[2] = { _C_ID, NULL };
size:size
offset:offset];
*/
GSSetValue(self, aKey, anObject, sel, type, size, offset);
GSObjCSetValue(self, aKey, anObject, sel, type, size, offset);
EOFLOGObjectFnStopCond(@"EOGenericRecordKVC");
}

View file

@ -48,7 +48,7 @@ ADDITIONAL_CFLAGS =
ADDITIONAL_INCLUDE_DIRS = -I..
# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS := $(ADDITIONAL_LDFLAGS) -lgnustep-db2 -lgnustep-db2control
ADDITIONAL_TOOL_LIBS += -lgnustep-db2 -lgnustep-db2control
# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS += -L../EOAccess/$(GNUSTEP_OBJ_DIR) -L../EOControl/$(GNUSTEP_OBJ_DIR)