[m-dev.] diff: additions to samples/c_interface

David Glen JEFFERY dgj at cs.mu.oz.au
Fri Jul 25 13:49:24 AEST 1997


> Hi,
> 
> Can someone please review this?
> 
> samples/c_interface/simpler_c_calls_mercury:
> 	Add new directory with new files README, c_main.c, Mmakefile,
> 	and mercury_lib.m.  These files demonstrate how to interface
> 	to C using a C main() top-level rather than with a Mercury
> 	main/2 top-level.
> 
> samples/c_interface/simpler_cplusplus_calls_mercury:
> 	Same as above, but using C++ rather than C.

That looks fine.


love and cuddles,
dgj
-- 
David Jeffery (dgj at cs.mu.oz.au)     |  Kids, you tried your best and 
MEngSc student,                     |  you failed miserably. The lesson
Department of Computer Science      |  is, never try.
University of Melbourne, Australia  |           -- Homer Simpson



More information about the developers mailing list