code: def _get_header_version(path, name):
      """Returns preprocessor defines in C header file."""
      for line in io.open(path, "r", encoding="utf-8").readlines():
          match = re.match(r"#define %s +(\d+)" % name, line)
          if match:
              return match.group(1)
      return ""
  
imports: import io
  import os
  import glob
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 6 for calling a global function with example usage: _get_header_version(path, name) and returns: str, match