code: def generate_api(output_dir, force=False):
      basename = "ufunc_api"
  
      h_file = os.path.join(output_dir, "__%s.h" % basename)
      c_file = os.path.join(output_dir, "__%s.c" % basename)
      targets = (h_file, c_file)
  
      sources = ["ufunc_api_order.txt"]
      do_generate_api(targets, sources)
      return targets
  
file_path: numpy/numpy/_core/code_generators/generate_ufunc_api.py
imports: import os
  import argparse
  import genapi
  from genapi import TypeApi, FunctionApi
  import numpy_api
label_desc: Use image node_id 1 for calling a global function with example usage: generate_api(output_dir, force) and returns: targets