Home | History | Annotate | Download | only in test

Lines Matching refs:c_int

24     _fields_ = [("x", c_int), ("y", c_int)]
26 _fields_ = [("left", c_int), ("top", c_int),
27 ("right", c_int), ("bottom", c_int)]
70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
86 f.argtypes = [c_int, c_int, POINTER(c_int)]
87 result = c_int()
93 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
94 f.restype = c_int
119 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
131 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
143 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble]
157 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
163 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
179 f.restype = POINTER(c_int)
180 f.argtypes = [POINTER(c_int)]
182 # This only works if the value c_int(42) passed to the
186 v = c_int(42)
190 self.assertEqual(type(result), POINTER(c_int))
197 p = pointer(c_int(99))
209 result = f(byref(c_int(99)))
214 f.restype = c_int
217 _fields_ = [("y", c_int)]
233 CallBack = CFUNCTYPE(c_int, c_int)
244 f.restype = c_int
247 MyCallback = CFUNCTYPE(c_int, c_int)
258 f.argtypes = [c_int, MyCallback]
263 AnotherCallback = WINFUNCTYPE(c_int, c_int, c_int, c_int, c_int)
276 f.restype = c_int
278 MyCallback = CFUNCTYPE(c_int, c_int)
280 f.argtypes = [c_int, MyCallback]
311 self.assertRaises(ValueError, c_int.in_dll, dll, "_xxx_yyy")
328 dll._testfunc_byval.restype = c_int
357 _fields_ = [("a", c_int),
358 ("b", c_int),
359 ("c", c_int),
360 ("d", c_int),
361 ("e", c_int),
362 ("f", c_int),
363 ("g", c_int),
364 ("h", c_int)]
375 _fields_ = [("a", c_int),
376 ("b", c_int),
377 ("c", c_int),
378 ("d", c_int),
379 ("e", c_int),
380 ("f", c_int),
381 ("g", c_int),
382 ("h", c_int)]
394 proto = CFUNCTYPE(c_int, RECT, POINT)