Home | History | Annotate | Download | only in test

Lines Matching refs:c_long

91         from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer
102 if c_int != c_long:
103 self.assertRaises(TypeError, LPINT.from_param, pointer(c_long(42)))
110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref
116 if c_int != c_long:
117 self.assertRaises(TypeError, LPINT.from_param, byref(c_long(22)))
122 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref
128 if c_int != c_long:
129 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_long(22))))
133 from ctypes import c_short, c_uint, c_int, c_long, POINTER
144 self.assertRaises(TypeError, LPINT.from_param, c_long*3)