X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=7205e7f9c321e436c6a032bb7fc30ff50cfdacb8;hb=1d883926ef0bf15e6af94957f01ea8e7ef6088a5;hp=904485334ab457e2077a6f3fa0785dd0e3dd0e24;hpb=1c4676845beb10386f4f58320b05b000efc47ae1;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 9044853..7205e7f 100644 --- a/src/freeglut_internal.h +++ b/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 \