code: 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
  
imports: import re
  import atexit
  import ctypes
  import os
  import sys
  import inspect
  import platform
  import numpy
  from .None import libinfo
label_desc: Use image node_id 11 for calling a global function with example usage: c_str_array(strings) and returns: arr