Author: rloach
Date: 2007-01-12 02:38:29 -0500 (Fri, 12 Jan 2007)
New Revision: 70900
Modified:
trunk/tao/src/Tao.Glfw/Glfw.cs
Log:
glfwGetJoystickPos fix from Archon.
Modified: trunk/tao/src/Tao.Glfw/Glfw.cs
===================================================================
--- trunk/tao/src/Tao.Glfw/Glfw.cs 2007-01-12 07:08:17 UTC (rev 70899)
+++ trunk/tao/src/Tao.Glfw/Glfw.cs 2007-01-12 07:38:29 UTC (rev 70900)
@@ -1871,14 +1871,14 @@
public static extern int glfwGetJoystickParam(int joystick, int
parameter);
#endregion int glfwGetJoystickParam(int joystick, int parameter)
- #region int glfwGetJoystickPos(int joy, out float position, int
numberOfAxes)
+ #region int glfwGetJoystickPos(int joy, [Out] float[] position,
int numberOfAxes)
/// <summary>
///
/// </summary>
// GLFWAPI int GLFWAPIENTRY glfwGetJoystickPos(int joy, float *pos,
int numaxes);
[DllImport(GLFW_NATIVE_LIBRARY), SuppressUnmanagedCodeSecurity]
- public static extern int glfwGetJoystickPos(int joy, out float
position, int numberOfAxes);
- #endregion int glfwGetJoystickPos(int joy, out float position,
int numberOfAxes)
+ public static extern int glfwGetJoystickPos(int joy, [Out]
float[] position, int numberOfAxes);
+ #endregion int glfwGetJoystickPos(int joy, [Out] float[]
position, int numberOfAxes)
#region int glfwGetJoystickButtons(int joystick, [Out] byte[]
buttons, int numberOfButtons)
/// <summary>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches