Home | History | Annotate | Download | only in test

Lines Matching refs:c_int

23     _fields_ = [("x", c_int), ("y", c_int)]
25 _fields_ = [("left", c_int), ("top", c_int),
26 ("right", c_int), ("bottom", c_int)]
72 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
83 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
91 f.argtypes = [c_int, c_int, POINTER(c_int)]
92 result = c_int()
98 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
99 f.restype = c_int
124 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
136 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
148 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble]
165 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double]
171 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
187 f.restype = POINTER(c_int)
188 f.argtypes = [POINTER(c_int)]
190 # This only works if the value c_int(42) passed to the
194 v = c_int(42)
198 self.assertEqual(type(result), POINTER(c_int))
205 p = pointer(c_int(99))
217 result = f(byref(c_int(99)))
222 f.restype = c_int
225 _fields_ = [("y", c_int)]
241 CallBack = CFUNCTYPE(c_int, c_int)
252 f.restype = c_int
255 MyCallback = CFUNCTYPE(c_int, c_int)
266 f.argtypes = [c_int, MyCallback]
271 AnotherCallback = WINFUNCTYPE(c_int, c_int, c_int, c_int, c_int)
284 f.restype = c_int
286 MyCallback = CFUNCTYPE(c_int, c_int)
288 f.argtypes = [c_int, MyCallback]
318 self.assertRaises(ValueError, c_int.in_dll, dll, "_xxx_yyy")
335 dll._testfunc_byval.restype = c_int
368 _fields_ = [("a", c_int),
369 ("b", c_int),
370 ("c", c_int),
371 ("d", c_int),
372 ("e", c_int),
373 ("f", c_int),
374 ("g", c_int),
375 ("h", c_int)]
386 _fields_ = [("a", c_int),
387 ("b", c_int),
388 ("c", c_int),
389 ("d", c_int),
390 ("e", c_int),
391 ("f", c_int),
392 ("g", c_int),
393 ("h", c_int)]
404 proto = CFUNCTYPE(c_int, RECT, POINT)