<s> from ctypes import * <EOL> import sys <EOL> sys . path . insert ( <NUM_LIT:0> , '<STR_LIT:..>' ) <EOL> import pymunk <EOL> sendbody_lib = windll . LoadLibrary ( "<STR_LIT>" ) <EOL> cpBody = pymunk . _chipmunk . cpBody <EOL> mass_sum = sendbody_lib . mass_sum <EOL> mass_sum . restype = c_double <EOL> mass_sum . argtypes = [ c_int , POINTER ( POINTER ( cpBody ) ) ] <EOL> b1 = pymunk . Body ( <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> b2 = pymunk . Body ( <NUM_LIT:10> , <NUM_LIT:1> ) <EOL> bodies = [ b1 . _body , b2 . _body , b1 . _body ] <EOL> arr = ( POINTER ( cpBody ) * len ( bodies ) ) ( * bodies ) <EOL> print mass_sum ( len ( arr ) , arr ) </s>
