ok
Direktori : /usr/lib64/python2.7/ctypes/ |
Current File : //usr/lib64/python2.7/ctypes/_endian.pyc |
� {fc @ s� d d l Z d d l Te e � Z d � Z d e e � f d � � YZ e j d k r{ d Z e Z d e f d � � YZ n@ e j d k r� d Z e Z d e f d � � YZ n e d � � d S( i����N( t *c C sf t | t � r t | t � St | t � r? t | j � | j St | t � rR | St d | � � d S( s� Return the type with the 'other' byte order. Simple types like c_int and so on already have __ctype_be__ and __ctype_le__ attributes which contain the types, for more complicated types arrays and structures are supported. s+ This type does not support other endian: %sN( t hasattrt _OTHER_ENDIANt getattrt isinstancet _array_typet _other_endiant _type_t _length_t issubclasst Structuret TypeError( t typ( ( s&