From 0687f2f596a0775e0d71506458f247482c905670 Mon Sep 17 00:00:00 2001 From: rkrolib Date: Fri, 19 Dec 2003 01:00:07 +0000 Subject: [PATCH] Ooops, left some cruft in a comment in the header when committing the last patch. Cleaned up. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@411 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_internal.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_internal.h b/freeglut/freeglut/src/freeglut_internal.h index 9044853..7205e7f 100644 --- a/freeglut/freeglut/src/freeglut_internal.h +++ b/freeglut/freeglut/src/freeglut_internal.h @@ -385,17 +385,9 @@ struct tagSFG_WindowState * but this can cause warnings because the FETCH_WCB() macro type- * casts its result, and a type-cast value shouldn't be an lvalue. * - * XXX Note that there is no type-checking to make sure that {func} is - * XXX a suitable type. We could add a safety-check of the form: - * XXX - * XXX if( FETCH_WCB( ... ) != func ) - * XXX ... - * XXX - * XXX ...is this desired? - * - * XXX The {if( FETCH_WCB( ... ) != func )} test is to do type-checking - * XXX and for no other reason. Since it's hidden in the macro, the - * XXX ugliness is felt to be rather benign. + * The {if( FETCH_WCB( ... ) != func )} test is to do type-checking + * and for no other reason. Since it's hidden in the macro, the + * ugliness is felt to be rather benign. */ #define SET_WCB(window,cbname,func) \ do \