Overview
Comment: | runtime: Fix missing _t suffix in types |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f0c9c3a9f75254f5ea27083479e8bba4 |
User & Date: | js on 2019-04-21 17:26:22 |
Other Links: | manifest | tags |
Context
2019-04-21
| ||
21:41 | .travis.yml: Disable Amiga till amiga-gcc is fixed check-in: 09382029f6 user: js tags: trunk | |
17:26 | runtime: Fix missing _t suffix in types check-in: f0c9c3a9f7 user: js tags: trunk | |
09:58 | Fix compilation on AmigaOS 4 with 53.30 SDK check-in: 50a6ffd4b1 user: js tags: trunk | |
Changes
Modified src/runtime/ObjFW_RT.h from [9b77c85f63] to [ae5ec75af6].
︙ | |||
61 62 63 64 65 66 67 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | - - + + | typedef struct objc_class *Class; typedef struct objc_object *id; typedef const struct objc_selector *SEL; #if !defined(__wii__) && !defined(__amigaos__) typedef bool BOOL; #endif typedef id _Nullable (*IMP)(id _Nonnull, SEL _Nonnull, ...); |
︙ | |||
247 248 249 250 251 252 253 | 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 | - + - + - + | extern const char *_Nullable object_getClassName(id _Nullable object); extern const char *_Nonnull protocol_getName(Protocol *_Nonnull protocol); extern bool protocol_isEqual(Protocol *_Nonnull protocol1, Protocol *_Nonnull protocol2); extern bool protocol_conformsToProtocol(Protocol *_Nonnull protocol1, Protocol *_Nonnull protocol2); extern void objc_exit(void); |
︙ |
Modified src/runtime/ObjFW_RT.sfd from [89f9a86100] to [ae80bac89b].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - + - + | Class _Nullable object_getClass_m68k(id _Nullable object)(a0) Class _Nullable object_setClass_m68k(id _Nullable object, Class _Nonnull class_)(a0,a1) const char *_Nullable object_getClassName_m68k(id _Nullable object)(a0) const char *_Nonnull protocol_getName_m68k(Protocol *_Nonnull protocol)(a0) bool protocol_isEqual_m68k(Protocol *_Nonnull protocol1, Protocol *_Nonnull protocol2)(a0,a1) bool protocol_conformsToProtocol_m68k(Protocol *_Nonnull protocol1, Protocol *_Nonnull protocol2)(a0,a1) void objc_exit_m68k(void)() |
Modified src/runtime/amiga-glue.m from [6e9a75e691] to [60e61a9415].
︙ | |||
569 570 571 572 573 574 575 | 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 | - + - + - + | void __saveds objc_exit_m68k(void) { objc_exit(); } |
Modified src/runtime/amiga-library.m from [9f8ec83747] to [c8fedb16aa].
︙ | |||
119 120 121 122 123 124 125 | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | - + | extern Class _Nullable object_getClass_m68k(void); extern Class _Nullable object_setClass_m68k(void); extern const char *_Nullable object_getClassName_m68k(void); extern const char *_Nonnull protocol_getName_m68k(void); extern bool protocol_isEqual_m68k(void); extern bool protocol_conformsToProtocol_m68k(void); extern void objc_exit_m68k(void); |
︙ |
Modified src/runtime/exception.m from [9119c3ea09] to [ef7a9d3c88].
︙ | |||
237 238 239 240 241 242 243 | 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 | - + | #ifdef HAVE_SEH_EXCEPTIONS extern EXCEPTION_DISPOSITION _GCC_specific_handler(PEXCEPTION_RECORD, void *, PCONTEXT, PDISPATCHER_CONTEXT, _Unwind_Reason_Code (*)(int, int, uint64_t, struct _Unwind_Exception *, struct _Unwind_Context *)); #endif |
︙ | |||
757 758 759 760 761 762 763 | 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 | - - + + - + | if (_Unwind_RaiseException(&e->exception) == _URC_END_OF_STACK && uncaughtExceptionHandler != NULL) uncaughtExceptionHandler(object); OBJC_ERROR("_Unwind_RaiseException() returned!") } |
︙ |
Modified src/runtime/linklib/linklib.m from [219475a078] to [d6e0a7e003].
︙ | |||
542 543 544 545 546 547 548 | 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 | - - + + - + | void objc_exit(void) { objc_exit_m68k(); } |
Modified src/runtime/misc.m from [ec4648bae1] to [09fc423a7b].
︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | - + - + | #include <stdio.h> #include <stdlib.h> #include "ObjFW_RT.h" #include "private.h" |