Overview
Comment: | Make linklib compile for MorphOS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | amiga-library |
Files: | files | file ages | folders |
SHA3-256: |
6dac4586ab8f2d31f2a0bcc80fcb7e88 |
User & Date: | js on 2020-12-20 22:51:17 |
Other Links: | branch diff | manifest | tags |
Context
2020-12-22
| ||
21:42 | Merge trunk into branch "amiga-library" check-in: a58aa8e069 user: js tags: amiga-library | |
2020-12-20
| ||
22:51 | Make linklib compile for MorphOS check-in: 6dac4586ab user: js tags: amiga-library | |
21:36 | Merge trunk into branch "amiga-library" check-in: 90637a4ecc user: js tags: amiga-library | |
Changes
Modified src/linklib/linklib.m from [d8c6cfcc82] to [46c5143434].
︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + + + | #include "config.h" #import "ObjFW.h" #import "amiga-library.h" #import "macros.h" #include <proto/exec.h> #define USE_INLINE_STDARG #include <proto/intuition.h> struct ObjFWBase; #import "inline.h" #include <errno.h> #include <locale.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #if defined(OF_AMIGAOS_M68K) # include <stabs.h> # define SYM(name) __asm__("_" name) #elif defined(OF_MORPHOS) # include <constructor.h> # define SYM(name) __asm__(name) |
︙ | |||
362 363 364 365 366 367 368 | 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 | - + | return; if ((ObjFWBase = OpenLibrary(OBJFW_AMIGA_LIB, OBJFW_LIB_MINOR)) == NULL) error("Failed to open " OBJFW_AMIGA_LIB " version %lu!", OBJFW_LIB_MINOR); if (!glue_of_init(1, &libc, __sF)) |
︙ | |||
438 439 440 441 442 443 444 | 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 | - + + + + + + + + + + + + | void of_log(OFConstantString *format, ...) { va_list arguments; va_start(arguments, format); |
︙ |
Modified src/morphos-clib.h from [26b7a0e0cb] to [3f0a43908f].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - + | /* The following function is only for the linklib. */ bool glue_of_init(unsigned int version, struct of_libc *libc, FILE **sF); void *glue_of_alloc(size_t count, size_t size); void *glue_of_alloc_zeroed(size_t count, size_t size); void *glue_of_realloc(void *pointer, size_t count, size_t size); uint32_t *glue_of_hash_seed_ref(void); OFStdIOStream **glue_of_stdin_ref(void); OFStdIOStream **glue_of_stdout_ref(void); OFStdIOStream **glue_of_stderr_ref(void); void glue_of_logv(OFConstantString *format, va_list arguments); |
︙ |
Modified src/runtime/linklib/linklib.m from [8918300072] to [2cbbd07269].
︙ | |||
19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | + | #import "ObjFWRT.h" #import "amiga-library.h" #import "macros.h" #import "private.h" #include <proto/exec.h> #define USE_INLINE_STDARG #include <proto/intuition.h> struct ObjFWRTBase; #import "inline.h" #include <stdio.h> |
︙ |