_proto(path_in, path_out):     file_out = open(path_out, 'w')     try:         file_out.write('/* This file was automatically generated by generate_param.py. DO NOT EDIT */\n\n')         header = get_header(path_out)         file_out.write("#ifndef %s\n" % header)         file_out.write("#define %s\n\n" % header)         for parameter in iterate_all(path_in):             # filter out parameteric options             if ':' in parameter['name']:                 continue             if parameter['synonym'] == "0":                 continue             if parameter['generated'] == "0":                 continue              output_string = ""             param_type = mapping.get(parameter['type'])             if param_type is None:                 raise Exception(parameter['name'] + " has an invalid context " + parameter['context'])             output_string += param_type             