�
B��cc @ s� d d l Z d d l Td d l m Z d d l m Z d d l Z d d l Z d e j f d � � YZ d e j f d � � YZ
d e j f d
� � YZ d e j f d � � YZ e
d
k r� e j � n d S( i����N( t *( t need_symbol( t calcsizet SubclassesTestc B s e Z d � Z d � Z RS( c C s� d t f d � � Y} d | f d � � Y} d | f d � � Y} | j t | � t t � � | j t | � t t � d � | j t | � t t � � | j | j d t f g � | j | j d t f g � | j | j d t f g � d S(
Nt Xc B s e Z d e f g Z RS( t a( t __name__t
__module__t c_intt _fields_( ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyR
s t Yc B s e Z d e f g Z RS( t b( R R R R ( ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyR
s t Zc B s e Z RS( ( R R ( ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyR s i R R ( t Structuret assertEqualt sizeofR R ( t selfR R
R ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyt
test_subclass s c C sH d t f d � � Y} | j t | � d � d t f g | _ d | f d � � Y} | j t | � t | � � d t f g | _ d | f d � � Y} | j t | � t t � � | j t | � t t � d
� | j t | � t t � � | j | j d t f g � | j | j d t f g � | j | j d t f g � d S( NR c B s e Z RS( ( R R ( ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyR s i R R
c B s e Z RS( ( R R ( ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyR
s R R c B s e Z RS( ( R R ( ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyR % s i ( R
R R R R ( R R R
R ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyt test_subclass_delayed s ( R R R R ( ( ( sB /usr/local/python-2.7/lib/python2.7/ctypes/test/test_structures.pyR s t StructureTestCasec B sJ e Z i
e d 6e d 6e d 6e d 6e d 6e d 6e d 6e d 6e
d 6e d 6e d
6e
d 6e d 6Z d
� Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z e d � d � � Z d � Z d � Z d � Z! e"