�
B��cc @ s\ d d l Z d d l Td d l m Z d e j f d � � YZ e d k rX e j � n d S( i����N( t *( t getrefcountt ObjectsTestCasec B sG e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s | j t | � t | � � d S( N( t assertEqualt id( t selft at b( ( sA /usr/local/python-2.7/lib/python2.7/ctypes/test/test_internals.pyt
assertSame s c C sK d } t | � } t | � } | j | t | � � | j | j d � d S( Ni�ހ( t grct c_intR t _objectst None( R t it refcntt ci( ( sA /usr/local/python-2.7/lib/python2.7/ctypes/test/test_internals.pyt test_ints s
c C sO d } t | � } t | � } | j | d t | � � | j | j | � d S( Ns Hello, Worldi ( R t c_char_pR R R ( R t sR t cs( ( sA /usr/local/python-2.7/lib/python2.7/ctypes/test/test_internals.pyt
test_c_char_p s
c C sg d t f d � � Y} d } d } | � } | j | j d � | | _ | | _ | j | j d � d S( Nt Xc B s e Z d e f d e f g Z RS( R R ( t __name__t
__module__R
t _fields_( ( ( sA /usr/local/python-2.7/lib/python2.7/ctypes/test/test_internals.pyR '