Add 'short unsigned int' as alias for uint16_t

This commit is contained in:
Gustavo J. A. M. Carneiro committed 2010-04-06 15:33:59 +01:00
1 parent 17e2f195ce
commit 1e0802781d
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ class IntRefParam(Parameter):
class UInt16Return(ReturnValue):
CTYPES = ['uint16_t', 'unsigned short', 'unsigned short int']
CTYPES = ['uint16_t', 'unsigned short', 'unsigned short int', 'short unsigned int']
def get_c_error_return(self):
return "return 0;"