101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
#define PRE_MEM_ALIGN ((sizeof(struct pre_mem) + \
(OF_BIGGEST_ALIGNMENT - 1)) & ~(OF_BIGGEST_ALIGNMENT - 1))
#define PRE_MEM(mem) ((struct pre_mem *)(void *)((char *)mem - PRE_MEM_ALIGN))
static struct {
Class isa;
} allocFailedException;
uint32_t of_hash_seed;
#if !defined(HAVE_ARC4RANDOM) && !defined(HAVE_GETRANDOM)
static void
initRandom(void)
{
struct timeval tv;
|
>
>
>
>
>
>
>
>
>
>
>
>
|
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
#define PRE_MEM_ALIGN ((sizeof(struct pre_mem) + \
(OF_BIGGEST_ALIGNMENT - 1)) & ~(OF_BIGGEST_ALIGNMENT - 1))
#define PRE_MEM(mem) ((struct pre_mem *)(void *)((char *)mem - PRE_MEM_ALIGN))
static struct {
Class isa;
} allocFailedException;
#ifdef OF_AMIGAOS
# undef of_hash_seed
#endif
uint32_t of_hash_seed;
#ifdef OF_AMIGAOS
uint32_t *
of_hash_seed_ref(void)
{
return &of_hash_seed;
}
#endif
#if !defined(HAVE_ARC4RANDOM) && !defined(HAVE_GETRANDOM)
static void
initRandom(void)
{
struct timeval tv;
|