Overview
Comment: | Add new functions to Amiga library |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | amiga-library |
Files: | files | file ages | folders |
SHA3-256: |
8e9dc9523cd4595171c806c8b34df4df |
User & Date: | js on 2020-11-14 12:07:18 |
Other Links: | branch diff | manifest | tags |
Context
2020-11-14
| ||
12:09 | Update changed return types in Amiga library check-in: cc34546854 user: js tags: amiga-library | |
12:07 | Add new functions to Amiga library check-in: 8e9dc9523c user: js tags: amiga-library | |
11:45 | Merge trunk into branch "amiga-library" check-in: 25a6c00b82 user: js tags: amiga-library | |
Changes
Modified src/amiga-glue.m from [77817a66d6] to [ae0dfe2bb3].
︙ | ︙ | |||
68 69 70 71 72 73 74 75 76 77 78 79 80 81 | { M68K_ARG(int *, argc, a0) M68K_ARG(char ***, argv, a1) M68K_ARG(id <OFApplicationDelegate>, delegate, a2) return of_application_main(argc, argv, delegate); } const char *__saveds glue_of_http_request_method_to_string PPC_PARAMS( of_http_request_method_t method) { M68K_ARG(of_http_request_method_t, method, d0) | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | { M68K_ARG(int *, argc, a0) M68K_ARG(char ***, argv, a1) M68K_ARG(id <OFApplicationDelegate>, delegate, a2) return of_application_main(argc, argv, delegate); } void *__saveds glue_of_malloc PPC_PARAMS(size_t count, size_t size) { M68K_ARG(size_t, count, d0) M68K_ARG(size_t, size, d1) return of_malloc(count, size); } void *__saveds glue_of_calloc PPC_PARAMS(size_t count, size_t size) { M68K_ARG(size_t, count, d0) M68K_ARG(size_t, size, d1) return of_calloc(count, size); } void *__saveds glue_of_realloc PPC_PARAMS(void *pointer, size_t count, size_t size) { M68K_ARG(void *, pointer, a0) M68K_ARG(size_t, count, d0) M68K_ARG(size_t, size, d1) return of_realloc(pointer, count, size); } uint32_t *__saveds glue_of_hash_seed_ref(void) { return of_hash_seed_ref(); } OFStdIOStream **__saveds glue_of_stdin_ref(void) { return of_stdin_ref(); } OFStdIOStream **__saveds glue_of_stdout_ref(void) { return of_stdout_ref(); } OFStdIOStream **__saveds glue_of_stderr_ref(void) { return of_stderr_ref(); } void __saveds glue_of_logv PPC_PARAMS(OFConstantString *format, va_list arguments) { M68K_ARG(OFConstantString *, format, a0) M68K_ARG(va_list, arguments, a1) of_logv(format, arguments); } const char *__saveds glue_of_http_request_method_to_string PPC_PARAMS( of_http_request_method_t method) { M68K_ARG(of_http_request_method_t, method, d0) |
︙ | ︙ | |||
110 111 112 113 114 115 116 | glue_of_alignof_type_encoding PPC_PARAMS(const char *type) { M68K_ARG(const char *, type, a0) return of_alignof_type_encoding(type); } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | glue_of_alignof_type_encoding PPC_PARAMS(const char *type) { M68K_ARG(const char *, type, a0) return of_alignof_type_encoding(type); } of_string_encoding_t __saveds glue_of_string_parse_encoding PPC_PARAMS(OFString *string) { M68K_ARG(OFString *, string, a0) return of_string_parse_encoding(string); } |
︙ | ︙ |
Modified src/amiga-library.m from [80e1f6e12e] to [b73e01e3b1].
︙ | ︙ | |||
66 67 68 69 70 71 72 73 74 75 76 77 78 | extern const void *_EH_FRAME_BEGINS__; extern void *_EH_FRAME_OBJECTS__; void __register_frame_info(const void *, void *); void *__deregister_frame_info(const void *); #endif extern bool glue_of_init(void); extern int glue_of_application_main(void); extern const char *glue_of_http_request_method_to_string(void); extern of_http_request_method_t glue_of_http_request_method_from_string(void); extern OFString *glue_of_http_status_code_to_string(void); extern size_t glue_of_sizeof_type_encoding(void); extern size_t glue_of_alignof_type_encoding(void); | > > > > > > > > < < < < < | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | extern const void *_EH_FRAME_BEGINS__; extern void *_EH_FRAME_OBJECTS__; void __register_frame_info(const void *, void *); void *__deregister_frame_info(const void *); #endif extern bool glue_of_init(void); extern void *glue_of_malloc(void); extern void *glue_of_calloc(void); extern void *glue_of_realloc(void); extern uint32_t *glue_of_hash_seed_ref(void); extern OFStdIOStream **glue_of_stdin_ref(void); extern OFStdIOStream **glue_of_stdout_ref(void); extern OFStdIOStream **glue_of_stderr_ref(void); extern void glue_of_logv(void); extern int glue_of_application_main(void); extern const char *glue_of_http_request_method_to_string(void); extern of_http_request_method_t glue_of_http_request_method_from_string(void); extern OFString *glue_of_http_status_code_to_string(void); extern size_t glue_of_sizeof_type_encoding(void); extern size_t glue_of_alignof_type_encoding(void); extern of_string_encoding_t glue_of_string_parse_encoding(void); extern OFString *glue_of_string_name_of_encoding(void); extern size_t glue_of_string_utf8_encode(void); extern ssize_t glue_of_string_utf8_decode(void); extern size_t glue_of_string_utf16_length(void); extern size_t glue_of_string_utf32_length(void); extern OFString *glue_of_zip_archive_entry_version_to_string(void); |
︙ | ︙ | |||
623 624 625 626 627 628 629 630 631 632 633 634 635 | (CONST_APTR)lib_expunge, (CONST_APTR)lib_null, #ifdef OF_MORPHOS (CONST_APTR)-1, (CONST_APTR)FUNCARRAY_32BIT_SYSTEMV, #endif (CONST_APTR)glue_of_init, (CONST_APTR)glue_of_application_main, (CONST_APTR)glue_of_http_request_method_to_string, (CONST_APTR)glue_of_http_request_method_from_string, (CONST_APTR)glue_of_http_status_code_to_string, (CONST_APTR)glue_of_sizeof_type_encoding, (CONST_APTR)glue_of_alignof_type_encoding, | > > > > > > > > < < < < < | 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 | (CONST_APTR)lib_expunge, (CONST_APTR)lib_null, #ifdef OF_MORPHOS (CONST_APTR)-1, (CONST_APTR)FUNCARRAY_32BIT_SYSTEMV, #endif (CONST_APTR)glue_of_init, (CONST_APTR)glue_of_malloc, (CONST_APTR)glue_of_calloc, (CONST_APTR)glue_of_realloc, (CONST_APTR)glue_of_hash_seed_ref, (CONST_APTR)glue_of_stdin_ref, (CONST_APTR)glue_of_stdout_ref, (CONST_APTR)glue_of_stderr_ref, (CONST_APTR)glue_of_logv, (CONST_APTR)glue_of_application_main, (CONST_APTR)glue_of_http_request_method_to_string, (CONST_APTR)glue_of_http_request_method_from_string, (CONST_APTR)glue_of_http_status_code_to_string, (CONST_APTR)glue_of_sizeof_type_encoding, (CONST_APTR)glue_of_alignof_type_encoding, (CONST_APTR)glue_of_string_parse_encoding, (CONST_APTR)glue_of_string_name_of_encoding, (CONST_APTR)glue_of_string_utf8_encode, (CONST_APTR)glue_of_string_utf8_decode, (CONST_APTR)glue_of_string_utf16_length, (CONST_APTR)glue_of_string_utf32_length, (CONST_APTR)glue_of_zip_archive_entry_version_to_string, |
︙ | ︙ |
Modified src/amigaos3.sfd from [8f1f5f4c6b] to [ba83d1ee89].
1 2 3 4 5 6 7 8 9 10 11 12 13 | ==base _ObjFWBase ==basetype struct Library * ==libname objfw68k.library ==bias 30 ==public * The following function is only for the linklib. bool glue_of_init(unsigned int version, struct of_libc *_Nonnull libc, FILE *_Nonnull *_Nonnull sF)(d0,a0,a1) int glue_of_application_main(int *_Nonnull argc, char *_Nullable *_Nonnull *_Nonnull argv, id <OFApplicationDelegate> delegate)(a0,a1,a2) const char *_Nullable glue_of_http_request_method_to_string(of_http_request_method_t method)(d0) of_http_request_method_t glue_of_http_request_method_from_string(OFString *string)(a0) OFString *_Nonnull glue_of_http_status_code_to_string(short code)(d0) size_t glue_of_sizeof_type_encoding(const char *type)(a0) size_t glue_of_alignof_type_encoding(const char *type)(a0) | > > > > > > > > < < < < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | ==base _ObjFWBase ==basetype struct Library * ==libname objfw68k.library ==bias 30 ==public * The following function is only for the linklib. bool glue_of_init(unsigned int version, struct of_libc *_Nonnull libc, FILE *_Nonnull *_Nonnull sF)(d0,a0,a1) void *_Nullable glue_of_malloc(size_t count, size_t size)(d0,d1) void *_Nullable glue_of_calloc(size_t count, size_t size)(d0,d1) void *_Nullable glue_of_realloc(void *_Nullable pointer, size_t count, size_t size)(a0,d0,d1) uint32_t *_Nonnull glue_of_hash_seed_ref(void)() OFStdIOStream *_Nonnull *_Nullable glue_of_stdin_ref(void)() OFStdIOStream *_Nonnull *_Nullable glue_of_stdout_ref(void)() OFStdIOStream *_Nonnull *_Nullable glue_of_stderr_ref(void)() void glue_of_logv(OFConstantString *format, va_list arguments)(a0,a1) int glue_of_application_main(int *_Nonnull argc, char *_Nullable *_Nonnull *_Nonnull argv, id <OFApplicationDelegate> delegate)(a0,a1,a2) const char *_Nullable glue_of_http_request_method_to_string(of_http_request_method_t method)(d0) of_http_request_method_t glue_of_http_request_method_from_string(OFString *string)(a0) OFString *_Nonnull glue_of_http_status_code_to_string(short code)(d0) size_t glue_of_sizeof_type_encoding(const char *type)(a0) size_t glue_of_alignof_type_encoding(const char *type)(a0) of_string_encoding_t glue_of_string_parse_encoding(OFString *string)(a0) OFString *_Nullable glue_of_string_name_of_encoding(of_string_encoding_t encoding)(d0) size_t glue_of_string_utf8_encode(of_unichar_t c, char *UTF8)(d0,a0) ssize_t glue_of_string_utf8_decode(const char *UTF8, size_t len, of_unichar_t *c)(a0,d0,a1) size_t glue_of_string_utf16_length(const of_char16_t *string)(a0) size_t glue_of_string_utf32_length(const of_char32_t *string)(a0) OFString *_Nonnull glue_of_zip_archive_entry_version_to_string(uint16_t version)(d0) |
︙ | ︙ |
Modified src/linklib/linklib.m from [ee9dff4839] to [618fea6efc].
︙ | ︙ | |||
365 366 367 368 369 370 371 | DESTRUCTOR_P(ObjFW, 4000) { dtor(); } #endif | | < < < < < | < < | < < < < < | < | | < < < < < | | < | | 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 | DESTRUCTOR_P(ObjFW, 4000) { dtor(); } #endif void * of_malloc(size_t count, size_t size) { return glue_of_malloc(count, size); } void * of_calloc(size_t count, size_t size) { return glue_of_calloc(count, size); } void * of_realloc(void *pointer, size_t count, size_t size) { return glue_of_realloc(pointer, count, size); } uint32_t * of_hash_seed_ref(void) { return glue_of_hash_seed_ref(); } |
︙ | ︙ | |||
441 442 443 444 445 446 447 448 449 450 451 452 453 454 | } void of_logv(OFConstantString *format, va_list arguments) { glue_of_logv(format, arguments); } of_string_encoding_t of_string_parse_encoding(OFString *string) { return glue_of_string_parse_encoding(string); } | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 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 | } void of_logv(OFConstantString *format, va_list arguments) { glue_of_logv(format, arguments); } int of_application_main(int *argc, char ***argv, id <OFApplicationDelegate> delegate) { return glue_of_application_main(argc, argv, delegate); } const char * of_http_request_method_to_string(of_http_request_method_t method) { return glue_of_http_request_method_to_string(method); } of_http_request_method_t of_http_request_method_from_string(OFString *string) { return glue_of_http_request_method_from_string(string); } OFString * of_http_status_code_to_string(short code) { return glue_of_http_status_code_to_string(code); } size_t of_sizeof_type_encoding(const char *type) { return glue_of_sizeof_type_encoding(type); } size_t of_alignof_type_encoding(const char *type) { return glue_of_alignof_type_encoding(type); } of_string_encoding_t of_string_parse_encoding(OFString *string) { return glue_of_string_parse_encoding(string); } |
︙ | ︙ |