code: def free_extension_handle(handle, type_code):
      """Free c++ extension type handle
  
      Parameters
      ----------
      handle : ctypes.c_void_p
          The handle to the extension type.
  
      type_code : int
           The tyoe code
      """
      check_call(_LIB.DGLExtTypeFree(handle, ctypes.c_int(type_code)))
  
imports: from __future__ import absolute_import
  import ctypes
  import sys
  import numpy
  from .base import _FFI_MODE, _LIB, c_array, c_str, check_call, string_types
  from .runtime_ctypes import dgl_shape_index_t, DGLArray, DGLArrayHandle, DGLContext, DGLDataType, TypeCode
label_desc: Use image node_id 6 for calling a global function with example usage: free_extension_handle(handle, type_code) without return types