Differences From Artifact [fe35d606d6]:
- File
src/OFObject.m
— part of check-in
[5ee9765356]
at
2022-04-25 13:09:39
on branch trunk
— Remove OFMemoryNotPartOfObjectException
It is no longer used. (user: js, size: 27709) [annotate] [blame] [check-ins using] [more...]
To Artifact [ac239733f0]:
- File src/OFObject.m — part of check-in [ac19ed9d40] at 2022-10-18 22:17:49 on branch amiga-library — Merge trunk into branch "amiga-library" (user: js, size: 27796) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
#define PRE_IVARS ((struct PreIvars *)(void *)((char *)self - PRE_IVARS_ALIGN))
static struct {
Class isa;
} allocFailedException;
unsigned long OFHashSeed;
void *
OFAllocMemory(size_t count, size_t size)
{
void *pointer;
if OF_UNLIKELY (count == 0 || size == 0)
| > > > > > > > > | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
#define PRE_IVARS ((struct PreIvars *)(void *)((char *)self - PRE_IVARS_ALIGN))
static struct {
Class isa;
} allocFailedException;
unsigned long OFHashSeed;
#ifdef OF_AMIGAOS
unsigned long *
OFHashSeedRef(void)
{
return &OFHashSeed;
}
#endif
void *
OFAllocMemory(size_t count, size_t size)
{
void *pointer;
if OF_UNLIKELY (count == 0 || size == 0)
|
| ︙ | ︙ |