public SWIGTYPE_p_OIS__JoyStick GetJoystick(SWIGTYPE_p_u32 Index) { IntPtr cPtr = testPINVOKE.CInputManager_GetJoystick(swigCPtr, SWIGTYPE_p_u32.getCPtr(Index)); SWIGTYPE_p_OIS__JoyStick ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_OIS__JoyStick(cPtr, false); if (testPINVOKE.SWIGPendingException.Pending) { throw testPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtr(SWIGTYPE_p_OIS__JoyStick obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }