[m-rev.] diff: incorrect declaration in mglu.m
Peter Wang
wangp at students.cs.mu.OZ.AU
Sun Apr 23 12:24:17 AEST 2006
Already committed.
Estimated hours taken: 0.1
Branches: main, release
extras/graphics/mercury_opengl/mglu.m:
Correct the declaration of MGLU_quadric_error_callback()
from `static' to `extern'.
Index: extras/graphics/mercury_opengl/mglu.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/graphics/mercury_opengl/mglu.m,v
retrieving revision 1.10
diff -u -r1.10 mglu.m
--- extras/graphics/mercury_opengl/mglu.m 15 Mar 2006 15:01:11 -0000 1.10
+++ extras/graphics/mercury_opengl/mglu.m 23 Apr 2006 02:15:20 -0000
@@ -216,7 +216,7 @@
").
:- pragma foreign_decl("C",
- "static void MGLU_quadric_error_callback(GLenum);
+ "extern void MGLU_quadric_error_callback(GLenum);
").
:- pragma foreign_code("C", "
--------------------------------------------------------------------------
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