Home | History | Annotate | Download | only in test

Lines Matching refs:c_char_p

7 #    func.restype = c_char_p
8 # func(c_char_p("123"))
14 # argument tuple (c_char_p("123"), ) is destroyed after the function
18 # the c_char_p("123") object would already have a zero refcount,
80 func.argtypes = c_char_p,
91 func.restype = c_char_p
96 self.assertEqual(None, func(c_char_p(None)))
97 self.assertEqual("123", func(c_char_p("123")))
106 func.restype = c_char_p
107 func.argtypes = c_char_p,
111 self.assertEqual(None, func(c_char_p(None)))
112 self.assertEqual("123", func(c_char_p("123")))
121 func.restype = c_char_p
126 self.assertEqual("123", func(c_char_p("123")))
127 self.assertEqual(None, func(c_char_p(None)))