Your IP : 216.73.216.196


Current Path : /lib64/python2.7/ctypes/test/
Upload File :
Current File : //lib64/python2.7/ctypes/test/test_unaligned_structures.pyc

�
{fc
@s�ddlZddlZddlTgZgZejdkrFeZneZxre	e
eee
eeeeeg
D]LZdefd��YZdefd��YZeje�eje�qqWdejfd	��YZed
kr�ej�ndS(i����N(t*tlittletXcBs&eZdZdefdefgZRS(itpadtvalue(t__name__t
__module__t_pack_tc_bytettypt_fields_(((s=/usr/lib64/python2.7/ctypes/test/test_unaligned_structures.pyRs	tYcBs&eZdZdefdefgZRS(iRR(RRRRR	R
(((s=/usr/lib64/python2.7/ctypes/test/test_unaligned_structures.pyRs	tTestStructurescBseZd�Zd�ZRS(cCsPxItD]A}|j|jjd�|�}d|_|j|jd�qWdS(Nii(t
structurestassertEqualRtoffset(tselfR	to((s=/usr/lib64/python2.7/ctypes/test/test_unaligned_structures.pyttest_natives

		cCsPxItD]A}|j|jjd�|�}d|_|j|jd�qWdS(Nii(tbyteswapped_structuresRRR(RR	R((s=/usr/lib64/python2.7/ctypes/test/test_unaligned_structures.pyttest_swapped$s

		(RRRR(((s=/usr/lib64/python2.7/ctypes/test/test_unaligned_structures.pyRs	t__main__(tsystunittesttctypesR
Rt	byteordertBigEndianStructuretSwappedStructuretLittleEndianStructuretc_shorttc_inttc_longt
c_longlongtc_floattc_doubletc_ushorttc_uinttc_ulongtc_ulonglongR	t	StructureRRtappendtTestCaseRRtmain(((s=/usr/lib64/python2.7/ctypes/test/test_unaligned_structures.pyt<module>s