def _prep_args(args, kwds):
  arg_values = _prep_value_list(args)
    
  kwd_names = []
  kwd_values = []
  for (k,v) in kwds.items():
    kwd_names.append(c_str(k))
    kwd_values.append(python_value_to_parakeet(v))
  kwd_names = list_to_ctypes_array(kwd_names)
  kwd_values = list_to_ctypes_array(kwd_values)
  return  arg_values, kwd_names, kwd_values 
def _prep_value_list(vals):
  parakeet_values = [python_value_to_parakeet(v) for v in vals]
  return list_to_ctypes_array(parakeet_values)
 def _globals_as_parakeet_value_list(self):
   return [python_value_to_parakeet(v) for v in self._globals_as_python_values()]