code: def find_module_registrations(c_file):
      
      global pattern
  
      if c_file is None:
          # No c file to match the object file, skip
          return set()
  
      with io.open(c_file, encoding='utf-8') as c_file_obj:
          return set(re.findall(pattern, c_file_obj.read()))
docs: Find any MP_REGISTER_MODULE definitions in the provided c file.
  
      :param str c_file: path to c file to check
      :return: List[(module_name, obj_module, enabled_define)]