]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
Allow testsuite to pass on big endian
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index 97f0e4d1774be599c661fe409e18cf1e7522f853..34c0ed8ff60833d5a667f83b68bfd04a3d29f28d 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -627,6 +627,11 @@ enum {
 /* TODO: elide */
 extern const char *util_instr_str[VINSTR_END];
 
+void util_swap_header     (prog_header_t              *code_header);
+void util_swap_statements (prog_section_statement_t   *statements);
+void util_swap_defs_fields(prog_section_both_t        *section);
+void util_swap_functions  (prog_section_function_t    *functions);
+void util_swap_globals    (int32_t                    *globals);
 
 typedef float    qcfloat_t;
 typedef int32_t  qcint_t;