Differences From Artifact [eefa1e2165]:
- File
src/OFObject.m
— part of check-in
[c86b8f10f0]
at
2022-11-16 01:27:26
on branch trunk
— Add OFAssert()
This uses the same format as OFEnsure(). (user: js, size: 28695) [annotate] [blame] [check-ins using]
To Artifact [fa1a2c06ef]:
- File src/OFObject.m — part of check-in [3c13b15751] at 2022-11-16 01:31:11 on branch amiga-library — Merge trunk into branch "amiga-library" (user: js, size: 28782) [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) |
︙ | ︙ |