[m-users.] [SOLVED]FFI mapping header values to constructor types
Sean Charles (emacstheviking)
objitsu at gmail.com
Thu Sep 23 06:34:28 AEST 2021
I didn’t need:
and the mistake was (as usual) in the compiler output …I changed the code from:
286 :- func create_mouse_down_event(int::in, int::in, int::in, int::in)
287 = (sdl_event::out) is det.
to:
286 :- func create_mouse_down_event(button::in, int::in, int::in, int::in)
287 = (sdl_event::out) is det.
and all is well.
I can now review and reflect… and progress!
Thanks again.
Sean.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20210922/b0ab9c8f/attachment.html>
More information about the users
mailing list