mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Remove spurious &s
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32985 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01b098e28a
commit
27aa31a2b4
1 changed files with 2 additions and 2 deletions
|
@ -438,7 +438,7 @@ class_getInstanceVariable(Class cls, const char *name)
|
|||
|
||||
void object_setIvar(id object, Ivar ivar, id value)
|
||||
{
|
||||
char *addr = (char*)&object;
|
||||
char *addr = (char*)object;
|
||||
addr += ivar_getOffset(ivar);
|
||||
*(id*)addr = value;
|
||||
}
|
||||
|
@ -452,7 +452,7 @@ Ivar object_setInstanceVariable(id obj, const char *name, void *value)
|
|||
|
||||
id object_getIvar(id object, Ivar ivar)
|
||||
{
|
||||
return *(id*)(((char*)&object) + ivar_getOffset(ivar));
|
||||
return *(id*)(((char*)object) + ivar_getOffset(ivar));
|
||||
}
|
||||
|
||||
Ivar object_getInstanceVariable(id obj, const char *name, void **outValue)
|
||||
|
|
Loading…
Reference in a new issue