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_win.c | |
parent | 095f59a30347fea0fc804400620a64dbb7a9273c (diff) |
replace APIENTRY with GLUTAPIENTRY to be consistant with glut.h
Diffstat (limited to 'src/glut/glx/glut_win.c')
-rw-r--r-- | src/glut/glx/glut_win.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/glut/glx/glut_win.c b/src/glut/glx/glut_win.c index 6483b97e569..4b044d084d4 100644 --- a/src/glut/glx/glut_win.c +++ b/src/glut/glx/glut_win.c @@ -130,7 +130,7 @@ __glutGetWindow(Window win) } /* CENTRY */ -int APIENTRY +int GLUTAPIENTRY glutGetWindow(void) { if (__glutCurrentWindow) { @@ -177,7 +177,7 @@ __glutSetWindow(GLUTwindow * window) } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutSetWindow(int win) { GLUTwindow *window; @@ -695,7 +695,7 @@ __glutCreateWindow(GLUTwindow * parent, } /* CENTRY */ -int APIENTRY +int GLUTAPIENTRY glutCreateWindow(const char *title) { static int firstWindow = 1; @@ -742,7 +742,7 @@ glutCreateWindow(const char *title) } #ifdef _WIN32 -int APIENTRY +int GLUTAPIENTRY __glutCreateWindowWithExit(const char *title, void (__cdecl *exitfunc)(int)) { __glutExitFunc = exitfunc; @@ -750,7 +750,7 @@ __glutCreateWindowWithExit(const char *title, void (__cdecl *exitfunc)(int)) } #endif -int APIENTRY +int GLUTAPIENTRY glutCreateSubWindow(int win, int x, int y, int width, int height) { GLUTwindow *window; @@ -842,7 +842,7 @@ __glutDestroyWindow(GLUTwindow * window, } /* CENTRY */ -void APIENTRY +void GLUTAPIENTRY glutDestroyWindow(int win) { GLUTwindow *window = __glutWindowList[win - 1]; @@ -886,7 +886,7 @@ __glutChangeWindowEventMask(long eventMask, Bool add) } } -void APIENTRY +void GLUTAPIENTRY glutDisplayFunc(GLUTdisplayCB displayFunc) { /* XXX Remove the warning after GLUT 3.0. */ @@ -895,7 +895,7 @@ glutDisplayFunc(GLUTdisplayCB displayFunc) __glutCurrentWindow->display = displayFunc; } -void APIENTRY +void GLUTAPIENTRY glutMouseFunc(GLUTmouseCB mouseFunc) { if (__glutCurrentWindow->mouse) { @@ -917,7 +917,7 @@ glutMouseFunc(GLUTmouseCB mouseFunc) __glutCurrentWindow->mouse = mouseFunc; } -void APIENTRY +void GLUTAPIENTRY glutMotionFunc(GLUTmotionCB motionFunc) { /* Hack. Some window managers (4Dwm by default) will mask @@ -948,7 +948,7 @@ glutMotionFunc(GLUTmotionCB motionFunc) __glutCurrentWindow->motion = motionFunc; } -void APIENTRY +void GLUTAPIENTRY glutPassiveMotionFunc(GLUTpassiveCB passiveMotionFunc) { __glutChangeWindowEventMask(PointerMotionMask, @@ -963,7 +963,7 @@ glutPassiveMotionFunc(GLUTpassiveCB passiveMotionFunc) __glutCurrentWindow->passive = passiveMotionFunc; } -void APIENTRY +void GLUTAPIENTRY glutEntryFunc(GLUTentryCB entryFunc) { __glutChangeWindowEventMask(EnterWindowMask | LeaveWindowMask, @@ -974,7 +974,7 @@ glutEntryFunc(GLUTentryCB entryFunc) } } -void APIENTRY +void GLUTAPIENTRY glutWindowStatusFunc(GLUTwindowStatusCB windowStatusFunc) { __glutChangeWindowEventMask(VisibilityChangeMask, @@ -995,7 +995,7 @@ visibilityHelper(int status) __glutCurrentWindow->visibility(GLUT_VISIBLE); } -void APIENTRY +void GLUTAPIENTRY glutVisibilityFunc(GLUTvisibilityCB visibilityFunc) { __glutCurrentWindow->visibility = visibilityFunc; @@ -1005,7 +1005,7 @@ glutVisibilityFunc(GLUTvisibilityCB visibilityFunc) glutWindowStatusFunc(NULL); } -void APIENTRY +void GLUTAPIENTRY glutReshapeFunc(GLUTreshapeCB reshapeFunc) { if (reshapeFunc) { |