ObjFW  Diff

Differences From Artifact [44543549b6]:

  • File src/runtime/private.h — part of check-in [3580326d70] at 2020-09-29 21:31:25 on branch trunk — runtime: Remove lookup-asm-powerpc-macho.S

    The newest compilers for macOS/PowerPC, Apple GCC 4.0.1 and Apple GCC
    4.2.1, both fail to compile any code that contains fast enumeration when
    using -fgnu-runtime (both crash with a bus error). This means that using
    the ObjFW runtime on macOS/PowerPC is no longer possible since ObjFW
    started requiring ObjC 2.

    macOS/PowerPC with the Apple runtime is still fully supported. (user: js, size: 11129) [annotate] [blame] [check-ins using]

To Artifact [7f0c22271c]:


305
306
307
308
309
310
311

312
313
314
315
316
317
318
extern void objc_dtable_set(struct objc_dtable *_Nonnull, uint32_t,
    IMP _Nullable);
extern void objc_dtable_free(struct objc_dtable *_Nonnull);
extern void objc_dtable_cleanup(void);
extern void objc_init_static_instances(struct objc_symtab *_Nonnull);
extern void objc_forget_pending_static_instances(void);
extern void objc_zero_weak_references(id _Nonnull);

#ifdef OF_HAVE_THREADS
extern void objc_global_mutex_lock(void);
extern void objc_global_mutex_unlock(void);
extern void objc_global_mutex_free(void);
#else
# define objc_global_mutex_lock()
# define objc_global_mutex_unlock()







>







305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
extern void objc_dtable_set(struct objc_dtable *_Nonnull, uint32_t,
    IMP _Nullable);
extern void objc_dtable_free(struct objc_dtable *_Nonnull);
extern void objc_dtable_cleanup(void);
extern void objc_init_static_instances(struct objc_symtab *_Nonnull);
extern void objc_forget_pending_static_instances(void);
extern void objc_zero_weak_references(id _Nonnull);
extern Class _Nullable object_getTaggedPointerClass(id _Nonnull);
#ifdef OF_HAVE_THREADS
extern void objc_global_mutex_lock(void);
extern void objc_global_mutex_unlock(void);
extern void objc_global_mutex_free(void);
#else
# define objc_global_mutex_lock()
# define objc_global_mutex_unlock()