Пример #1
0
 def test_acceptStructInPtr(self):
     s = cstruct.Cstruct1(3, 3.0)
     cstruct.acceptStructInPtr(s)
Пример #2
0
 def test_acceptStructInPtr(self):
     s = np.array((3, 3.0), dtype=cstruct.Cstruct1_dtype)
     cstruct.acceptStructInPtr(s)