Sindbad~EG File Manager

Current Path : /usr/local/lib/python2.7/ctypes/test/
Upload File :
Current File : //usr/local/lib/python2.7/ctypes/test/test_refcounts.pyc

�
ϟ�dc@s�ddlZddlZddlZejejej�Zejejejej�ZddlZej	ej
�Zdejfd��YZ
dejfd��YZedkr�ej�ndS(i����NtRefcountTestCasecBseZd�Zd�ZRS(cCs�ddlm}tj}tj|_tjtg|_d�}|j	||�d�t|�}|j
||�d�|d|�}|j	|d�d}tj
�|j	||�d�dS(Ni����(tgetrefcountcSs|S(N((tvalue((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pytcallbacksii����i��(tsysRtdllt_testfunc_callback_i_iftctypestc_inttrestypet
MyCallbacktargtypestassertEqualt
assertGreatertNonetgctcollect(tselftgrctfRtcbtresult((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyttest_1
s		
cCs\ddlm}d�}|j||�d�t|�}|j||�d�~|j||�d�tj�|j||�d�dtj	fd��Y}|�}t|�|_
|j||�d�~|j||�d�tj�|j||�d�t|�}|j||�d�||_~tj�|j||�d�dS(Ni����(RcWsdS(N((targs((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pytfunc'sitXcBseZdefgZRS(ta(t__name__t
__module__t
OtherCallbackt_fields_(((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyR8s(RRRRR
tassertGreaterEqualRRRt	StructureRtcycle(RRRRRtx((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyt
test_refcount%s.	
	
	
(RRRR#(((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyRs	tAnotherLeakcBseZd�ZRS(cCs~ddl}tjtjtjtj�}d�}||�}|jtj�}|dd�|j|jtj�|�dS(Ni����cSs||dS(Ni((Rtb((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyRYsii(RRt	CFUNCTYPERRR(RRtprotoRRR((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyt
test_callbackUs	
(RRR((((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyR$Tst__main__(tunittestRRR&RR
tc_ulonglongRt_ctypes_testtCDLLt__file__RtTestCaseRR$Rtmain(((s6/usr/local/lib/python2.7/ctypes/test/test_refcounts.pyt<module>sI


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists