[mercury-users] mingw rotd
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed May 7 16:14:15 AEST 2003
On 07-May-2003, Michael Day <mikeday at yeslogic.com> wrote:
>
> > By all means -- we'd certainly be happy to include wrappers for Win32
> > interfaces in the mercury-extras distribution.
>
> Great. However, I have a question about callbacks.
>
> If a C function is called by the operating system in response to
> DispatchMessage or EnumFonts or whatever, how can it call Mercury?
>
> Does it need to set up the stack or something, or is the callback case no
> different from calling Mercury from a regular C function as described in
> the reference manual?
So long as "main" is in Mercury, it's no different.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list