Add 'short unsigned int' as alias for uint16_t
This commit is contained in:
1 parent
17e2f195ce
commit
1e0802781d
1 file changed
+1
-1
@@ -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;"
|
||||
|
||||
Reference in new issue
Block a user