code: def parse_function_signature(code):
      """
      Return the name, arguments, and return type of the first function
      definition found in *code*. Arguments are returned as [(type, name), ...].
      """
      m = re.search(r"^\s*" + re_func_decl + r"\s*{", code, re.M)
      if m is None:
          print(code)
          raise Exception(
              "Failed to parse function signature. "
              "Full code is printed above."
          )
      rtype, name, args = m.groups()[:3]
      if args == "void" or args.strip() == "":
          args = []
      else:
          args = [
              tuple(arg.strip().split(" ")) for arg in args.split(",")
          ]
      return name, args, rtype
  
imports: from __future__ import division
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: parse_function_signature(code) and returns: name,  args,  rtype