Home | History | Annotate | Download | only in test

Lines Matching refs:c_int

15     _fields_ = [("x", c_int), ("y", c_int)]
27 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
34 f.restype = POINTER(c_int)
35 f.argtypes = [POINTER(c_int)]
37 # This only works if the value c_int(42) passed to the
41 v = c_int(42)
45 self.assertEqual(type(result), POINTER(c_int))
52 p = pointer(c_int(99))
67 CallBack = CFUNCTYPE(c_int, c_int)
77 f.restype = c_int
80 MyCallback = CFUNCTYPE(c_int, c_int)
92 f.argtypes = [c_int, MyCallback]
101 AnotherCallback = CALLBACK_FUNCTYPE(c_int, c_int, c_int, c_int, c_int)
113 f.restype = c_int
115 MyCallback = CFUNCTYPE(c_int, c_int)
117 f.argtypes = [c_int, MyCallback]
159 dll._testfunc_byval.restype = c_int
181 _fields_ = [("a", c_int),
182 ("b", c_int),
183 ("c", c_int),
184 ("d", c_int),
185 ("e", c_int),
186 ("f", c_int),
187 ("g", c_int),
188 ("h", c_int)]
197 from ctypes import c_int
205 c_int.from_param(a)