Testing!
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@572 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
baa96828be
commit
073c39afd2
@ -370,10 +370,10 @@ typedef void (*SFG_Proc)();
|
|||||||
/*
|
/*
|
||||||
* SET_WCB() is used as:
|
* SET_WCB() is used as:
|
||||||
*
|
*
|
||||||
* SET_WCB( window, Visibility, func );
|
* SET_WCB( window, cbname, func );
|
||||||
*
|
*
|
||||||
* ...where {window} is the freeglut window to set the callback,
|
* ...where {window} is the freeglut window to set the callback,
|
||||||
* {Visibility} is the window-specific callback to set,
|
* {cbname} is the window-specific callback to set,
|
||||||
* {func} is a function-pointer.
|
* {func} is a function-pointer.
|
||||||
*
|
*
|
||||||
* Originally, {FETCH_WCB( ... ) = func} was rather sloppily used,
|
* Originally, {FETCH_WCB( ... ) = func} was rather sloppily used,
|
||||||
@ -394,10 +394,10 @@ do \
|
|||||||
/*
|
/*
|
||||||
* FETCH_WCB() is used as:
|
* FETCH_WCB() is used as:
|
||||||
*
|
*
|
||||||
* FETCH_WCB( window, Visibility );
|
* FETCH_WCB( window, cbname );
|
||||||
*
|
*
|
||||||
* ...where {window} is the freeglut window to fetch the callback from,
|
* ...where {window} is the freeglut window to fetch the callback from,
|
||||||
* {Visibility} is the window-specific callback to fetch.
|
* {cbname} is the window-specific callback to fetch.
|
||||||
*
|
*
|
||||||
* The result is correctly type-cast to the callback function pointer
|
* The result is correctly type-cast to the callback function pointer
|
||||||
* type.
|
* type.
|
||||||
@ -408,15 +408,15 @@ do \
|
|||||||
/*
|
/*
|
||||||
* INVOKE_WCB() is used as:
|
* INVOKE_WCB() is used as:
|
||||||
*
|
*
|
||||||
* INVOKE_WCB( window, Visibility, ( status ) );
|
* INVOKE_WCB( window, cbname, ( arg_list ) );
|
||||||
*
|
*
|
||||||
* ...where {window} is the freeglut window,
|
* ...where {window} is the freeglut window,
|
||||||
* {Visibility} is the window-specific callback,
|
* {cbname} is the window-specific callback to be invoked,
|
||||||
* {(status)} is the parameter list.
|
* {(arg_list)} is the parameter list.
|
||||||
*
|
*
|
||||||
* The callback is invoked as:
|
* The callback is invoked as:
|
||||||
*
|
*
|
||||||
* callback( status );
|
* callback( arg_list );
|
||||||
*
|
*
|
||||||
* ...so the parentheses are REQUIRED in the {arg_list}.
|
* ...so the parentheses are REQUIRED in the {arg_list}.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user