code: def cure_get_clusters(cure_data_pointer):
      ccore = ccore_library.get()
  
      ccore.cure_get_clusters.restype = POINTER(pyclustering_package)
      package = ccore.cure_get_clusters(cure_data_pointer)
  
      result = package_extractor(package).extract()
      ccore.free_pyclustering_package(package)
  
      return result
  
imports: from ctypes import c_double, c_size_t, POINTER, c_void_p
  from pyclustering.core.wrapper import ccore_library
  from pyclustering.core.pyclustering_package import pyclustering_package, package_extractor, package_builder
label_desc: Use image node_id 3 for calling a global function with example usage: cure_get_clusters(cure_data_pointer) and returns: result