-#ifndef __glutf90_h__\r
-#define __glutf90_h__\r
-\r
-/* Copyright (c) Mark J. Kilgard & Willam F. Mitchell, 1998. */\r
-\r
-/* This program is freely distributable without licensing fees \r
- and is provided without guarantee or warrantee expressed or \r
- implied. This program is -not- in the public domain. */\r
-\r
-/* This header provides the binding interface for William Mitchell's\r
- f90gl Fortran 90 GLUT binding. Other GLUT language bindings\r
- can and should use this interace. */\r
-\r
-/* I appreciate the guidance from William Mitchell\r
- (mitchell@cam.nist.gov) in developing this friend interface\r
- for use by the f90gl package. See ../../README.fortran */\r
-\r
-#include <GL/glut.h>\r
-\r
-/* Which callback enumerants for the __glutSetFCB/__glutGetFCB routines. */\r
-/* NOTE These values are part of a binary interface for the f90gl Fortran\r
- 90 binding and so must NOT changes (additions are allowed). */\r
-\r
-/* GLUTwindow callbacks. */\r
-#define GLUT_FCB_DISPLAY 0 /* GLUTdisplayFCB */\r
-#define GLUT_FCB_RESHAPE 1 /* GLUTreshapeFCB */\r
-#define GLUT_FCB_MOUSE 2 /* GLUTmouseFCB */\r
-#define GLUT_FCB_MOTION 3 /* GLUTmotionFCB */\r
-#define GLUT_FCB_PASSIVE 4 /* GLUTpassiveFCB */\r
-#define GLUT_FCB_ENTRY 5 /* GLUTentryFCB */\r
-#define GLUT_FCB_KEYBOARD 6 /* GLUTkeyboardFCB */\r
-#define GLUT_FCB_KEYBOARD_UP 7 /* GLUTkeyboardFCB */\r
-#define GLUT_FCB_WINDOW_STATUS 8 /* GLUTwindowStatusFCB */\r
-#define GLUT_FCB_VISIBILITY 9 /* GLUTvisibilityFCB */\r
-#define GLUT_FCB_SPECIAL 10 /* GLUTspecialFCB */\r
-#define GLUT_FCB_SPECIAL_UP 11 /* GLUTspecialFCB */\r
-#define GLUT_FCB_BUTTON_BOX 12 /* GLUTbuttonBoxFCB */\r
-#define GLUT_FCB_DIALS 13 /* GLUTdialsFCB */\r
-#define GLUT_FCB_SPACE_MOTION 14 /* GLUTspaceMotionFCB */\r
-#define GLUT_FCB_SPACE_ROTATE 15 /* GLUTspaceRotateFCB */\r
-#define GLUT_FCB_SPACE_BUTTON 16 /* GLUTspaceButtonFCB */\r
-#define GLUT_FCB_TABLET_MOTION 17 /* GLUTtabletMotionFCB */\r
-#define GLUT_FCB_TABLET_BUTTON 18 /* GLUTtabletButtonFCB */\r
-#define GLUT_FCB_JOYSTICK 19 /* GLUTjoystickFCB */\r
-/* Non-GLUTwindow callbacks. */\r
-#define GLUT_FCB_OVERLAY_DISPLAY 100 /* GLUTdisplayFCB */\r
-#define GLUT_FCB_SELECT 101 /* GLUTselectFCB */\r
-#define GLUT_FCB_TIMER 102 /* GLUTtimerFCB */\r
-\r
-/* GLUT Fortran callback function types. */\r
-typedef void (GLUTCALLBACK *GLUTdisplayFCB) (void);\r
-typedef void (GLUTCALLBACK *GLUTreshapeFCB) (int *, int *);\r
-/* NOTE the pressed key is int, not unsigned char for Fortran! */\r
-typedef void (GLUTCALLBACK *GLUTkeyboardFCB) (int *, int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTmouseFCB) (int *, int *, int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTmotionFCB) (int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTpassiveFCB) (int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTentryFCB) (int *);\r
-typedef void (GLUTCALLBACK *GLUTwindowStatusFCB) (int *);\r
-typedef void (GLUTCALLBACK *GLUTvisibilityFCB) (int *);\r
-typedef void (GLUTCALLBACK *GLUTspecialFCB) (int *, int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTbuttonBoxFCB) (int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTdialsFCB) (int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTspaceMotionFCB) (int *, int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTspaceRotateFCB) (int *, int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTspaceButtonFCB) (int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTtabletMotionFCB) (int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTtabletButtonFCB) (int *, int *, int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTjoystickFCB) (unsigned int *buttonMask, int *x, int *y, int *z);\r
-\r
-typedef void (GLUTCALLBACK *GLUTselectFCB) (int *);\r
-typedef void (GLUTCALLBACK *GLUTtimerFCB) (int *);\r
-typedef void (GLUTCALLBACK *GLUTmenuStateFCB) (int *); /* DEPRICATED. */\r
-typedef void (GLUTCALLBACK *GLUTmenuStatusFCB) (int *, int *, int *);\r
-typedef void (GLUTCALLBACK *GLUTidleFCB) (void);\r
-\r
-/* Functions that set and return Fortran callback functions. */\r
-GLUTAPI void* APIENTRY __glutGetFCB(int which);\r
-GLUTAPI void APIENTRY __glutSetFCB(int which, void *func);\r
-\r
-#endif /* __glutf90_h__ */\r
+#ifndef __glutf90_h__
+#define __glutf90_h__
+
+/* Copyright (c) Mark J. Kilgard & Willam F. Mitchell, 1998. */
+
+/* This program is freely distributable without licensing fees
+ and is provided without guarantee or warrantee expressed or
+ implied. This program is -not- in the public domain. */
+
+/* This header provides the binding interface for William Mitchell's
+ f90gl Fortran 90 GLUT binding. Other GLUT language bindings
+ can and should use this interace. */
+
+/* I appreciate the guidance from William Mitchell
+ (mitchell@cam.nist.gov) in developing this friend interface
+ for use by the f90gl package. See ../../README.fortran */
+
+#include <GL/glut.h>
+
+/* Which callback enumerants for the __glutSetFCB/__glutGetFCB routines. */
+/* NOTE These values are part of a binary interface for the f90gl Fortran
+ 90 binding and so must NOT changes (additions are allowed). */
+
+/* GLUTwindow callbacks. */
+#define GLUT_FCB_DISPLAY 0 /* GLUTdisplayFCB */
+#define GLUT_FCB_RESHAPE 1 /* GLUTreshapeFCB */
+#define GLUT_FCB_MOUSE 2 /* GLUTmouseFCB */
+#define GLUT_FCB_MOTION 3 /* GLUTmotionFCB */
+#define GLUT_FCB_PASSIVE 4 /* GLUTpassiveFCB */
+#define GLUT_FCB_ENTRY 5 /* GLUTentryFCB */
+#define GLUT_FCB_KEYBOARD 6 /* GLUTkeyboardFCB */
+#define GLUT_FCB_KEYBOARD_UP 7 /* GLUTkeyboardFCB */
+#define GLUT_FCB_WINDOW_STATUS 8 /* GLUTwindowStatusFCB */
+#define GLUT_FCB_VISIBILITY 9 /* GLUTvisibilityFCB */
+#define GLUT_FCB_SPECIAL 10 /* GLUTspecialFCB */
+#define GLUT_FCB_SPECIAL_UP 11 /* GLUTspecialFCB */
+#define GLUT_FCB_BUTTON_BOX 12 /* GLUTbuttonBoxFCB */
+#define GLUT_FCB_DIALS 13 /* GLUTdialsFCB */
+#define GLUT_FCB_SPACE_MOTION 14 /* GLUTspaceMotionFCB */
+#define GLUT_FCB_SPACE_ROTATE 15 /* GLUTspaceRotateFCB */
+#define GLUT_FCB_SPACE_BUTTON 16 /* GLUTspaceButtonFCB */
+#define GLUT_FCB_TABLET_MOTION 17 /* GLUTtabletMotionFCB */
+#define GLUT_FCB_TABLET_BUTTON 18 /* GLUTtabletButtonFCB */
+#define GLUT_FCB_JOYSTICK 19 /* GLUTjoystickFCB */
+/* Non-GLUTwindow callbacks. */
+#define GLUT_FCB_OVERLAY_DISPLAY 100 /* GLUTdisplayFCB */
+#define GLUT_FCB_SELECT 101 /* GLUTselectFCB */
+#define GLUT_FCB_TIMER 102 /* GLUTtimerFCB */
+
+/* GLUT Fortran callback function types. */
+typedef void (GLUTCALLBACK *GLUTdisplayFCB) (void);
+typedef void (GLUTCALLBACK *GLUTreshapeFCB) (int *, int *);
+/* NOTE the pressed key is int, not unsigned char for Fortran! */
+typedef void (GLUTCALLBACK *GLUTkeyboardFCB) (int *, int *, int *);
+typedef void (GLUTCALLBACK *GLUTmouseFCB) (int *, int *, int *, int *);
+typedef void (GLUTCALLBACK *GLUTmotionFCB) (int *, int *);
+typedef void (GLUTCALLBACK *GLUTpassiveFCB) (int *, int *);
+typedef void (GLUTCALLBACK *GLUTentryFCB) (int *);
+typedef void (GLUTCALLBACK *GLUTwindowStatusFCB) (int *);
+typedef void (GLUTCALLBACK *GLUTvisibilityFCB) (int *);
+typedef void (GLUTCALLBACK *GLUTspecialFCB) (int *, int *, int *);
+typedef void (GLUTCALLBACK *GLUTbuttonBoxFCB) (int *, int *);
+typedef void (GLUTCALLBACK *GLUTdialsFCB) (int *, int *);
+typedef void (GLUTCALLBACK *GLUTspaceMotionFCB) (int *, int *, int *);
+typedef void (GLUTCALLBACK *GLUTspaceRotateFCB) (int *, int *, int *);
+typedef void (GLUTCALLBACK *GLUTspaceButtonFCB) (int *, int *);
+typedef void (GLUTCALLBACK *GLUTtabletMotionFCB) (int *, int *);
+typedef void (GLUTCALLBACK *GLUTtabletButtonFCB) (int *, int *, int *, int *);
+typedef void (GLUTCALLBACK *GLUTjoystickFCB) (unsigned int *buttonMask, int *x, int *y, int *z);
+
+typedef void (GLUTCALLBACK *GLUTselectFCB) (int *);
+typedef void (GLUTCALLBACK *GLUTtimerFCB) (int *);
+typedef void (GLUTCALLBACK *GLUTmenuStateFCB) (int *); /* DEPRICATED. */
+typedef void (GLUTCALLBACK *GLUTmenuStatusFCB) (int *, int *, int *);
+typedef void (GLUTCALLBACK *GLUTidleFCB) (void);
+
+/* Functions that set and return Fortran callback functions. */
+GLUTAPI GLUTproc APIENTRY __glutGetFCB(int which);
+GLUTAPI void APIENTRY __glutSetFCB(int which, GLUTproc func);
+
+#endif /* __glutf90_h__ */