[mercury-users] Calling Mercury from C

Michael Day mikeday at yeslogic.com
Fri Jul 11 14:09:06 AEST 2003


> > Is there a way I can avoid this? I tried casting the closure directly to 
> > the right kind of function pointer and calling that, but it crashed.
> 
> Why do you want to avoid it?

Many many many forwarding predicates. Tiresome to write, and annoying to
update and keep synchronised with the C functions when the interface
changes.

I take it that this is unavoidable though :)

Michael

-- 
YesLogic Prince prints XML!
http://yeslogic.com

--------------------------------------------------------------------------
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