Current Path : /usr/local/lib/python2.5/ctypes/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/ctypes/test/test_values.pyc |
łň hRc @ s` d Z d d k Z d d k Td d k Z d e i f d YZ e d j o e i n d S( s. A testcase which accesses *values* in a dll. i˙˙˙˙N( t *t ValuesTestCasec B s3 e Z d Z d Z d e i f d YZ RS( c C sm t t i } t i | d } | i } | i | | i | i d 9_ | i | d | i d S( Nt an_integeri ( t CDLLt _ctypes_testt __file__t c_intt in_dllt valuet failUnlessEqualt get_an_integer( t selft ctdllR t x( ( s3 /usr/local/lib/python2.5/ctypes/test/test_values.pyt test_an_integer s c C s, t t i } | i t t i | d d S( Nt Undefined_Symbol( R R R t assertRaisest ValueErrorR R ( R R ( ( s3 /usr/local/lib/python2.5/ctypes/test/test_values.pyt test_undefined s t Win_ValuesTestCasec B s) e Z d Z d Z d Z d Z RS( s? This test only works when python itself is a dll/shared libraryc C s) t i t d i } | i | d d S( Nt Py_OptimizeFlagi ( R R t pydllR R ( R t opt( ( s3 /usr/local/lib/python2.5/ctypes/test/test_values.pyt test_optimizeflag s c C sć d t f d Y} t | } | i t d } g } x<