Update/improve version/deprecation reporting.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23797 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-10-09 15:13:44 +00:00
parent 3ea83c27dd
commit 48522ab8cd
13 changed files with 43 additions and 143 deletions

View file

@ -117,14 +117,6 @@ GSAllocateMutexAt(objc_mutex_t *request)
objc_mutex_unlock(local_lock);
}
/** Deprecated ... use GSObjCFindVariable() */
BOOL
GSFindInstanceVariable(id obj, const char *name,
const char **type, unsigned int *size, int *offset)
{
return GSObjCFindVariable(obj, name, type, size, offset);
}
/**
* This function is used to locate information about the instance
* variable of obj called name. It returns YES if the variable
@ -274,12 +266,6 @@ GSObjCVariableNames(id obj)
return array;
}
/** Deprecated ... use GSObjCGetVariable() */
void
GSGetVariable(id obj, int offset, unsigned int size, void *data)
{
GSObjCGetVariable(obj, offset, size, data);
}
/**
* Gets the value from an instance variable in obj<br />
* This function performs no checking ... you should use it only where
@ -292,12 +278,6 @@ GSObjCGetVariable(id obj, int offset, unsigned int size, void *data)
memcpy(data, ((void*)obj) + offset, size);
}
/** Deprecated ... use GSObjCSetVariable() */
void
GSSetVariable(id obj, int offset, unsigned int size, const void *data)
{
GSObjCSetVariable(obj, offset, size, data);
}
/**
* Sets the value in an instance variable in obj<br />
* This function performs no checking ... you should use it only where
@ -1475,13 +1455,6 @@ GSObjCAddClassBehavior(Class receiver, Class behavior)
#endif
/** Deprecated ... use GSObjCGetVal() */
id
GSGetValue(NSObject *self, NSString *key, SEL sel,
const char *type, unsigned size, int offset)
{
return GSObjCGetVal(self, [key UTF8String], sel, type, size, offset);
}
/**
* This is used internally by the key-value coding methods, to get a
* value from an object either via an accessor method (if sel is
@ -1801,13 +1774,6 @@ GSObjCGetValue(NSObject *self, NSString *key, SEL sel,
return GSObjCGetVal(self, [key UTF8String], sel, type, size, offset);
}
/** Deprecated ... use GSObjCSetVal() */
void
GSSetValue(NSObject *self, NSString *key, id val, SEL sel,
const char *type, unsigned size, int offset)
{
GSObjCSetVal(self, [key UTF8String], val, sel, type, size, offset);
}
/**
* This is used internally by the key-value coding methods, to set a
* value in an object either via an accessor method (if sel is