Re: [m-users.] Change in compiler behaviour for 22.01.8 ? Pointer type strictness increased?

Volker Wysk <[email protected]> Sat, 27 Apr 2024 05:19:54 +0200
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
Am Freitag, dem 26.04.2024 um 21:55 +0100 schrieb Sean Charles
(emacstheviking):
> This used to compiler:
> 
> :- pragma foreign_type("C", rsound,   "MR_Integer",
> [can_pass_as_mercury_type]).

Change that to:

:- pragma foreign_type("C", rsound, "char *",[can_pass_as_mercury_type]).

Or:

:- pragma foreign_type("C", rsound, "void *",[can_pass_as_mercury_type]).

?

Volker
_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users