Ooops, left some cruft in a comment in the header when committing the
authorRichard Rauch <rkr@olib.org>
Fri, 19 Dec 2003 01:00:07 +0000 (01:00 +0000)
committerRichard Rauch <rkr@olib.org>
Fri, 19 Dec 2003 01:00:07 +0000 (01:00 +0000)
last patch.  Cleaned up.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@411 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_internal.h

index 9044853..7205e7f 100644 (file)
@@ -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                                                    \