Lines Matching refs:global_functions_hdr
34 global_functions_hdr=open("include/libxml/globals.h", "w+") variable
45 writeline(global_functions_hdr, line)
47 writeline(global_functions_hdr, " * Automatically generated by build_glob.py.")
48 writeline(global_functions_hdr, " * Do not modify the previous line.")
49 writeline(global_functions_hdr, " */")
50 writeline(global_functions_hdr)
70 writeline(global_functions_hdr)
71 global_functions_hdr.write("extern "+fields[0]+" *")
73 global_functions_hdr.write("(*")
74 global_functions_hdr.write("__"+fields[1]+"(void)")
76 global_functions_hdr.write(")"+fields[2])
77 writeline(global_functions_hdr,";")
78 writeline(global_functions_hdr, "#ifdef LIBXML_THREAD_ENABLED")
79 writeline(global_functions_hdr,"#define "+fields[1]+" \\")
80 writeline(global_functions_hdr,"(*(__"+fields[1]+"()))")
81 writeline(global_functions_hdr,"#else")
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]+";")
86 writeline(global_functions_hdr,"#endif")
89 …writeline(global_functions_hdr,fields[0]+" "+fields[1][:3]+"ThrDef"+fields[1][3:]+"("+fields[0]+" …
117 writeline(global_functions_hdr)
118 writeline(global_functions_hdr, "#ifdef __cplusplus")
119 writeline(global_functions_hdr, "}")
120 writeline(global_functions_hdr, "#endif")
121 writeline(global_functions_hdr)
122 writeline(global_functions_hdr, "#endif /* __XML_GLOBALS_H */")