for review: add mercury_opengl library

David Glen JEFFERY dgj at cs.mu.OZ.AU
Mon Feb 16 18:39:30 AEDT 1998


> New File: extras/graphics/mercury_opengl/mercury_opengl.m
> ===================================================================
> %-----------------------------------------------------------------------------%
> % Copyright (C) 1997 The University of Melbourne.
> % This file may only be copied under the terms of the GNU Library General
> % Public License - see the file COPYING.LIB in the Mercury distribution.
> %-----------------------------------------------------------------------------%
> %-----------------------------------------------------------------------------%
> 
> % mercury_opengl -- a Mercury binding for OpenGL.
> 
> :- module mercury_opengl.
> 
> :- import_module mglu, mogl, mtogl.

You should probably have some kind of bugus declaration in here so that you
don't get a warning about having nothing exported. Eg.
	:- type dont_get_a_warning.
will do.

Hmmm... we really need some kind of package mechanism, don't we! :-)

(I haven't looked closely at the rest of the diff, so you might want to wait
for Tom's comments before committing).


love and cuddles,
dgj
-- 
David Jeffery (dgj at cs.mu.oz.au) |  Marge: Did you just call everyone "chicken"?
MEngSc student,                 |  Homer: Noooo.  I swear on this Bible!
Department of Computer Science  |  Marge: That's not a Bible; that's a book of
University of Melbourne         |         carpet samples!
Australia                       |  Homer: Ooooh... Fuzzy.



More information about the developers mailing list