50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# define class_getSuperclass class_get_super_class
#endif
/// \cond internal
struct pre_ivar {
void **memchunks;
size_t memchunks_size;
int32_t retain_count; /* int32_t because atomic ops use int32_t */
#ifndef OF_ATOMIC_OPS
of_spinlock_t retain_spinlock;
#endif
};
/// \endcond
/* Hopefully no arch needs more than 16 bytes padding */
|
|
|
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# define class_getSuperclass class_get_super_class
#endif
/// \cond internal
struct pre_ivar {
void **memchunks;
size_t memchunks_size;
int32_t retain_count;
#ifndef OF_ATOMIC_OPS
of_spinlock_t retain_spinlock;
#endif
};
/// \endcond
/* Hopefully no arch needs more than 16 bytes padding */
|