code: def to_darwin(src, dest):
      pre = ""
      for item in parse_export_file(src):
          if item.get("linux_version"):
              continue
  
          if item["lang"] == "C":
              dest.write(pre + "-Wl,-exported_symbol,_" + item["sym"])
          elif item["lang"] == "C++":
              for sym in to_c(item["sym"]):
                  dest.write(pre + "-Wl,-exported_symbol,_" + sym)
          else:
              raise Exception("unsupported lang: " + item["lang"])
          if pre == "":
              pre = " "
  
file_path: catboost/build/scripts/export_script_gen.py
imports: import argparse
  import collections
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: to_darwin(src, dest) without return types