-static void write_hints(FILE* header_file, long matrix[][HINTLEN], long dim1, long dim2, const char* varname)
-{
- fprintf(header_file, "LOCATION long %s[][%ld] INITIALIZE(= {\n", varname, dim2);
- for (int i = 0; i < dim1; ++i) {
- fprintf(header_file, " {");
- for (int j = 0; j < dim2; ++j) {
- fprintf(header_file, "%ld, ", matrix[i][j]);
- }
- fprintf(header_file, "},\n");
- }
- fprintf(header_file, "});\n");
-}
-