Current File : //home/strato/chroot/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyo
�
��#ec@sbddlZddlTdefd��YZdejfd��YZedkr^ej�ndS(i����N(t*tMyIntcBseZd�Zd�ZRS(cCs)t|�tkrdSt|j|j�S(Ni����(ttypeRtcmptvalue(tselftother((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyt__cmp__scCs
t|j�S(N(thashR(R((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyt__hash__	s(t__name__t
__module__RR	(((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyRs	tTestcBs,eZd�Zd�Zd�Zd�ZRS(cCs<|jtd�td��|jtd�td��dS(Nii*i+(tassertEqualRtassertNotEqual(R((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyttest_comparescCs8td�}d�}||�}|jd|��dS(NcSsdS(Nitabc(iRN(tNone(((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pytfuncs(t	CFUNCTYPERR
(RtprotoRtcb((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyttest_ignore_retvals	cs�g��fd�}tdt�|�}|jd|d��|jt�d�t�ttt�|�}|jd|d��|jt�d�t�dS(Ncs�j|�|S(N(tappend(targ(targs(sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyRs
i*i����(RRRR
Rtc_inttint(RRR((RsA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyttest_int_callbackscCsddtfd��Y}|j|�jt��|�}td�|_|j|jtd��dS(NtXcBseZdefgZRS(tx(R
RRt_fields_(((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyR.si*(t	StructureR
RR(RRts((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyttest_int_struct-s
	(R
RRRRR"(((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyRs			t__main__(tunittesttctypesRRtTestCaseRR
tmain(((sA/opt/RZpython2/lib/python2.7/ctypes/test/test_simplesubclasses.pyt<module>s

,