code: def c_array(ctype, values):
      """Create ctypes array from a python array
  
      Parameters
      ----------
      ctype : ctypes data type
          data type of the array we want to convert to
  
      values : tuple or list
          data content
  
      Returns
      -------
      out : ctypes array
          Created ctypes array
      """
      return (ctype * len(values))(*values)
  
imports: import ctypes
  import functools
  import os
  import re
  import sys
  import types
  from typing import Callable, Sequence, Optional
  import numpy
  from .None import libinfo
label_desc: Use image node_id 3 for calling a global function with example usage: c_array(ctype, values) and returns: unknown