Differences From Artifact [316cef8c1f]:
- File
src/amiga-glue.m
— part of check-in
[1ec05804b0]
at
2020-06-20 21:54:52
on branch amiga-library
— Add all functions to linklib
Also contains a workaround for Amiga library functions not being able to
return structs. (user: js, size: 8476) [annotate] [blame] [check-ins using]
To Artifact [0f4f4302e3]:
- File
src/amiga-glue.m
— part of check-in
[9697334084]
at
2020-06-21 02:15:26
on branch amiga-library
— Make of_std{in,out,err} available in Amiga library
This is done by using functions that return a reference to the variable
and defining of_std{in,out,err} to a call into these functions. (user: js, size: 8714) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
106 107 108 109 110 111 112 113 114 115 116 117 118 119 | size_t __saveds glue_of_alignof_type_encoding PPC_PARAMS(const char *type) { M68K_ARG(const char *, type, a0) return of_alignof_type_encoding(type); } void __saveds glue_of_logv PPC_PARAMS(OFConstantString *format, va_list arguments) { M68K_ARG(OFConstantString *, format, a0) M68K_ARG(va_list, arguments, a1) | > > > > > > > > > > > > > > > > > > | 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 | size_t __saveds glue_of_alignof_type_encoding PPC_PARAMS(const char *type) { M68K_ARG(const char *, type, a0) return of_alignof_type_encoding(type); } 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) |
︙ | ︙ |