code: def make_py_context(context):
      py_obj = ctypes.py_object(context)
      Py_IncRef(py_obj)
      context = ctypes.c_void_p.from_buffer(py_obj)
      return ctypes.c_void_p(context.value)
  
imports: import sys
  import ctypes
  from enum import IntEnum
label_desc: Use image node_id 7 for calling a global function with example usage: make_py_context(context) and returns: ctypes