diff options
author | Brian Paul <[email protected]> | 2003-02-12 23:56:21 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-02-12 23:56:21 +0000 |
commit | f2f5f4f8842b984d58f8a24f0a6c3c150f53baad (patch) | |
tree | b6ff8c1b153d8ae97ee0a4aa71a18d507a3f8f1e /src/glut/glx/glut_menu2.c | |
parent | 095f59a30347fea0fc804400620a64dbb7a9273c (diff) |
replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h
Diffstat (limited to 'src/glut/glx/glut_menu2.c')
-rw-r--r-- | src/glut/glx/glut_menu2.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/glut/glx/glut_menu2.c b/src/glut/glx/glut_menu2.c index d02cee4ac15..969b8120b44 100644 --- a/src/glut/glx/glut_menu2.c +++ b/src/glut/glx/glut_menu2.c @@ -29,19 +29,19 @@ /* CENTRY */ /* DEPRICATED, use glutMenuStatusFunc instead. */ -void APIENTRY +void GLUTAPIENTRY glutMenuStateFunc(GLUTmenuStateCB menuStateFunc) { __glutMenuStatusFunc = (GLUTmenuStatusCB) menuStateFunc; } -void APIENTRY +void GLUTAPIENTRY glutMenuStatusFunc(GLUTmenuStatusCB menuStatusFunc) { __glutMenuStatusFunc = menuStatusFunc; } -void APIENTRY +void GLUTAPIENTRY glutDestroyMenu(int menunum) { GLUTmenu *menu = __glutGetMenuByNum(menunum); @@ -68,7 +68,7 @@ glutDestroyMenu(int menunum) free(menu); } -void APIENTRY +void GLUTAPIENTRY glutChangeToMenuEntry(int num, const char *label, int value) { GLUTmenuItem *item; @@ -95,7 +95,7 @@ glutChangeToMenuEntry(int num, const char *label, int value) __glutWarning("Current menu has no %d item.", num); } -void APIENTRY +void GLUTAPIENTRY glutChangeToSubMenu(int num, const char *label, int menu) { GLUTmenuItem *item; @@ -122,7 +122,7 @@ glutChangeToSubMenu(int num, const char *label, int menu) __glutWarning("Current menu has no %d item.", num); } -void APIENTRY +void GLUTAPIENTRY glutRemoveMenuItem(int num) { GLUTmenuItem *item, **prev, *remaining; @@ -173,7 +173,7 @@ glutRemoveMenuItem(int num) __glutWarning("Current menu has no %d item.", num); } -void APIENTRY +void GLUTAPIENTRY glutDetachMenu(int button) { if (__glutMappedMenu) |