[DiscordArchive] <@283455627538333696> what for? I can use Cython with native types?
[DiscordArchive] <@283455627538333696> what for? I can use Cython with native types?
Archived author: Quantam • Posted: 2018-10-13T12:11:10.271000+00:00
Original source
Ugh
Archived author: Skarn • Posted: 2018-10-13T12:11:25.138000+00:00
Original source
?
Archived author: Quantam • Posted: 2018-10-13T12:11:37.071000+00:00
Original source
It converted my double underscores to underline
Archived author: Skarn • Posted: 2018-10-13T12:11:38.190000+00:00
Original source
what does that mean?
Archived author: Quantam • Posted: 2018-10-13T12:12:46.765000+00:00
Original source
STDCALL = the called function removes the arguments from the stack (by adjusting the stack pointer). CDECL means the caller fixes the stack pointer after the function returns
Archived author: Quantam • Posted: 2018-10-13T12:13:29.773000+00:00
Original source
The latter being necessary to allow variable arguments
Archived author: Quantam • Posted: 2018-10-13T12:14:32.750000+00:00
Original source
Oh right, a correction. The x64 Windows calling convention doesn't directly correspond to anything, but a cross between FASTCALL and (I think) CDECL. First 4 arguments are passed in registers and the rest are passed on the stack. I think the caller cleans up the arguments.
Archived author: Skarn • Posted: 2018-10-13T12:14:51.148000+00:00
Original source
does this change anything for me?
Archived author: Quantam • Posted: 2018-10-13T12:15:42.235000+00:00
Original source
If you're not on Windows probably not. If you're on Windows see if Cython supports WINAPI and just use that as it will work for all functions declared that way which I think is all of CascLib
Archived author: Quantam • Posted: 2018-10-13T12:16:42.821000+00:00
Original source
WINAPI may have different implementations for x86 and x64, but it'll always be the same for a given architecture