#!/usr/bin/env python3 # Copyright 2022-2023, Collabora, Ltd. # # SPDX-License-Identifier: BSL-1.0 # # Original author: Rylie Pavlik "} def get_all_entries(): for sym, header in _SYMBOLS.items(): yield """{ symbol: ["%s", "public", "%s", "public"] },""" % ( sym, header, ) def write_file(): entries = list(get_all_entries()) write_mapping_file(entries, _OUTPUT_FILENAME, Path(__file__).resolve().name) if __name__ == "__main__": write_file()