Home | History | Annotate | Download | only in test

Lines Matching refs:s2h

342         class S2H(Structure):
345 dll.ret_2h_func.restype = S2H
346 dll.ret_2h_func.argtypes = [S2H]
347 inp = S2H(99, 88)
348 s2h = dll.ret_2h_func(inp)
349 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))
353 class S2H(Structure):
357 windll.s_ret_2h_func.restype = S2H
358 windll.s_ret_2h_func.argtypes = [S2H]
359 s2h = windll.s_ret_2h_func(S2H(99, 88))
360 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))