comparison src/joystick/darwin/SDL_sysjoystick.c @ 2698:e1da92da346c gsoc2008_nds

Clean up.
author Darren Alton <dalton@stevens.edu>
date Wed, 27 Aug 2008 04:23:38 +0000
parents dbc6d1893869
children
comparison
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
192 /* Call a method of the intermediate plug-in to create the device interface */ 192 /* Call a method of the intermediate plug-in to create the device interface */
193 plugInResult = 193 plugInResult =
194 (*ppPlugInInterface)->QueryInterface(ppPlugInInterface, 194 (*ppPlugInInterface)->QueryInterface(ppPlugInInterface,
195 CFUUIDGetUUIDBytes 195 CFUUIDGetUUIDBytes
196 (kIOHIDDeviceInterfaceID), 196 (kIOHIDDeviceInterfaceID),
197 (void *) &(pDevice-> 197 (void *)
198 interface)); 198 &(pDevice->interface));
199 if (S_OK != plugInResult) 199 if (S_OK != plugInResult)
200 HIDReportErrorNum 200 HIDReportErrorNum
201 ("CouldnŐt query HID class device interface from plugInInterface", 201 ("CouldnŐt query HID class device interface from plugInInterface",
202 plugInResult); 202 plugInResult);
203 (*ppPlugInInterface)->Release(ppPlugInInterface); 203 (*ppPlugInInterface)->Release(ppPlugInInterface);