parameters: (strings)
return_statement: return arr
docstring: Create ctypes const char ** from a list of Python strings.
  
      Parameters
      ----------
      strings : list of string
          Python strings.
  
      Returns
      -------
      (ctypes.c_char_p * len(strings))
          A const char ** pointer that can be passed to C API.
docstring_summary: Create ctypes const char ** from a list of Python strings.
docstring_tokens: Create ctypes const char ** from a list of Python strings .
function: def c_str_array(strings):
      """Create ctypes const char ** from a list of Python strings.
  
      Parameters
      ----------
      strings : list of string
          Python strings.
  
      Returns
      -------
      (ctypes.c_char_p * len(strings))
          A const char ** pointer that can be passed to C API.
      """
      arr = (ctypes.c_char_p * len(strings))()
      arr[:] = [s.encode('utf-8') for s in strings]
      return arr
function_tokens: def c_str_array ( strings ) : arr = ( ctypes . c_char_p * len ( strings ) ) ( ) arr [ : ] = [ s . encode ( 'utf-8' ) for s in strings ] return arr