Lines Matching refs:fields
68 fields = string.split(line, ",") variable
71 global_functions_hdr.write("extern "+fields[0]+" *")
72 if fields[2]:
74 global_functions_hdr.write("__"+fields[1]+"(void)")
75 if fields[2]:
76 global_functions_hdr.write(")"+fields[2])
79 writeline(global_functions_hdr,"#define "+fields[1]+" \\")
80 writeline(global_functions_hdr,"(*(__"+fields[1]+"()))")
82 if fields[2]:
83 … writeline(global_functions_hdr,"LIBXML_DLL_IMPORT extern "+fields[0]+" "+fields[1]+fields[2]+";")
85 writeline(global_functions_hdr,"LIBXML_DLL_IMPORT extern "+fields[0]+" "+fields[1]+";")
88 if fields[3]:
89 …writeline(global_functions_hdr,fields[0]+" "+fields[1][:3]+"ThrDef"+fields[1][3:]+"("+fields[0]+" …
93 writeline(global_functions_impl, "#undef\t"+fields[1])
94 writeline(global_functions_impl, fields[0]+" *")
95 if fields[2]:
97 global_functions_impl.write("__"+fields[1]+"(void)")
98 if fields[2]:
102 writeline(global_functions_impl, "\treturn (&"+fields[1]+");")
104 writeline(global_functions_impl, "\treturn (&xmlGetGlobalState()->"+fields[1]+");")
107 if fields[3]:
108 …writeline(global_functions_impl,fields[0]+" "+fields[1][:3]+"ThrDef"+fields[1][3:]+"("+fields[0]+"…
109 writeline(global_functions_impl," "+fields[0]+" ret;");
111 writeline(global_functions_impl," ret = "+fields[1][:3]+fields[1][3:]+"ThrDef;")
112 writeline(global_functions_impl," "+fields[1][:3]+fields[1][3:]+"ThrDef = v;")