From 1e0802781d885e4b3f8d32f574b8de6ef9f0f53f Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 6 Apr 2010 15:33:59 +0100 Subject: [PATCH] Add 'short unsigned int' as alias for uint16_t --- pybindgen/typehandlers/inttype.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybindgen/typehandlers/inttype.py b/pybindgen/typehandlers/inttype.py index bad4289..c602acb 100644 --- a/pybindgen/typehandlers/inttype.py +++ b/pybindgen/typehandlers/inttype.py @@ -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;"