[m-rev.] diff: fix compilation of curses binding

Julien Fischer juliensf at cs.mu.OZ.AU
Mon May 2 12:27:39 AEST 2005


Estimated hours taken: 0.1
Branches: main, release

Fix compilation of extras/curses.

extras/curses/user.m:
	Replace instances of ':' as a module qualifier.  ':' now
	gets a warning from the release branch compiler.

	s/mutvar/store_mutvar/ since the former was deleted from
	the library a few months ago.

Julien.

Index: user.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/curses/user.m,v
retrieving revision 1.6
diff -u -r1.6 user.m
--- user.m	5 Dec 2000 02:07:19 -0000	1.6
+++ user.m	2 May 2005 02:20:46 -0000
@@ -147,12 +147,12 @@

 %----------------------------------------------------------------------------%

-:- import_module mcurses:misc, mcurses:basics.
+:- import_module mcurses.misc, mcurses.basics.
 :- import_module array, char, int, list, require, std_util, store, string.

 :- type curse_store_type ---> curse_store_type.
 :- type curse_store == store(curse_store_type).
-:- type win	== mutvar(window, curse_store_type).
+:- type win	== store_mutvar(window, curse_store_type).

 :- type window
 	--->	win(

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list