Differences From Artifact [c40fe5f0d2]:
- File src/amiga-glue.m — part of check-in [4aa3be08a9] at 2020-06-20 17:20:08 on branch amiga-library — Add Amiga library glue for all functions (user: js, size: 8204) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
186 187 188 189 190 191 192 | M68K_ARG(size_t, keyLength, d5) M68K_ARG(bool, allowsSwappableMemory, d6) of_scrypt(blockSize, costFactor, parallelization, salt, saltLength, password, passwordLength, key, keyLength, allowsSwappableMemory); } | | | > > | | | | > > | | | | > > | | | | | > | | | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | M68K_ARG(size_t, keyLength, d5) M68K_ARG(bool, allowsSwappableMemory, d6) of_scrypt(blockSize, costFactor, parallelization, salt, saltLength, password, passwordLength, key, keyLength, allowsSwappableMemory); } void __saveds glue_of_socket_address_parse_ip PPC_PARAMS(of_socket_address_t *address, OFString *IP, uint16_t port) { M68K_ARG(of_socket_address_t *, address, a0) M68K_ARG(OFString *, IP, a1) M68K_ARG(uint16_t, port, d0) *address = of_socket_address_parse_ip(IP, port); } void __saveds glue_of_socket_address_parse_ipv4 PPC_PARAMS(of_socket_address_t *address, OFString *IP, uint16_t port) { M68K_ARG(of_socket_address_t *, address, a0) M68K_ARG(OFString *, IP, a1) M68K_ARG(uint16_t, port, d0) *address = of_socket_address_parse_ipv4(IP, port); } void __saveds glue_of_socket_address_parse_ipv6 PPC_PARAMS(of_socket_address_t *address, OFString *IP, uint16_t port) { M68K_ARG(of_socket_address_t *, address, a0) M68K_ARG(OFString *, IP, a1) M68K_ARG(uint16_t, port, d0) *address = of_socket_address_parse_ipv6(IP, port); } void __saveds glue_of_socket_address_ipx PPC_PARAMS(of_socket_address_t *address, const unsigned char *node, uint32_t network, uint16_t port) { M68K_ARG(of_socket_address_t *, address, a0) M68K_ARG(const unsigned char *, node, a1) M68K_ARG(uint32_t, network, d0) M68K_ARG(uint16_t, port, d1) *address = of_socket_address_ipx(node, network, port); } bool __saveds glue_of_socket_address_equal PPC_PARAMS(const of_socket_address_t *address1, const of_socket_address_t *address2) { M68K_ARG(const of_socket_address_t *, address1, a0) |
︙ | ︙ |