def units_func(f):
 return double_output(f, [c_void_p, POINTER(c_char_p)], strarg=True)

def units_func ( f ) : return double_output ( f , [ c_void_p , POINTER ( c_char_p ) ] , strarg = True )
creates a ctypes function prototype for osr units functions .