code: def split_type(arg):
      """arg = 'foo *name'
      return ['foo*', 'name']"""
      l = arg.split()
      type_arg = {}  #'type': l[0], 'name': l[1]}
      type_arg["type"] = " ".join(l[:-1])
      type_arg["name"] = l[-1]
      # fix up type / name
      if type_arg["name"].startswith("*"):
          # ['foo', '*name'] -> ['foo*', 'name']
          type_arg["type"] += "*"
          type_arg["name"] = type_arg["name"][1:]
      if type_arg["type"].endswith(" *"):
          # ['foo *', 'name'] -> ['foo*', 'name']
          type_arg["type"] = type_arg["type"].replace(" *", "*")
      if type_arg["type"].startswith("const "):
          # ['foo *', 'name'] -> ['foo*', 'name']
          type_arg["type"] = type_arg["type"].replace("const ", "")
      return type_arg
  
label_desc: Use image node_id 3 for calling a global function with example usage: split_type(arg) and returns: type_arg