ObjFW  Check-in [3afa373424]

Overview
Comment:runtime: Add __objc_class_name_Protocol to linklib

This is referenced by code using the class in order to make sure it gets
linked in.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3afa373424cb6ecfcf0d8185f7c48116f0be67bfdced147eb98b2fbd91eb18fd
User & Date: js on 2018-05-13 20:06:04
Other Links: manifest | tags
Context
2018-05-20
10:25
runtime: Add missing nullability annotations check-in: 392fdaedc4 user: js tags: trunk
2018-05-13
20:06
runtime: Add __objc_class_name_Protocol to linklib check-in: 3afa373424 user: js tags: trunk
19:26
runtime: Remove unused -D flag check-in: e46fe510af user: js tags: trunk
Changes

Modified src/runtime/linklib/linklib.m from [5386d2b724] to [40fc377fab].

50
51
52
53
54
55
56

57
58
59
60
61
62
63
#else
extern void _Unwind_Resume(void *);
#endif
extern void __register_frame_info(const void *, void *);
extern void __deregister_frame_info(const void *);

struct Library *ObjFWRTBase;


static void __attribute__((__constructor__))
init(void)
{
	static bool initialized = false;
	struct objc_libc libc = {
		.malloc = malloc,







>







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#else
extern void _Unwind_Resume(void *);
#endif
extern void __register_frame_info(const void *, void *);
extern void __deregister_frame_info(const void *);

struct Library *ObjFWRTBase;
void *__objc_class_name_Protocol;

static void __attribute__((__constructor__))
init(void)
{
	static bool initialized = false;
	struct objc_libc libc = {
		.malloc = malloc,