code: def iter_filenames(*, search=False):
      if search:
          yield from iter_files_by_suffix(INCLUDE_DIRS, (".h",))
          yield from iter_files_by_suffix(SOURCE_DIRS, (".c",))
      else:
          globs = (os.path.join(REPO_ROOT, file) for file in GLOBS)
          yield from expand_filenames(globs)
  
imports: import os.path
  from c_common.fsutil import expand_filenames, iter_files_by_suffix
  from .None import REPO_ROOT, INCLUDE_DIRS, SOURCE_DIRS
label_desc: Use image node_id 2 for calling a global function with example usage: iter_filenames() without return types