Hitmap 1.3
|
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "hit_sshape.h"
#include "hit_com.h"
Go to the source code of this file.
Macros | |
#define | hit_dumpTile(var) hit_dumpTileInternal(&(var), #var, stderr) |
#define | hit_dumpTileFile(var, prefix, comment) { char name[16]; sprintf(name,"%s.%d",prefix,hit_Rank); FILE *fich; fich=fopen(name, "a"); fprintf(fich, comment); hit_dumpTileInternal(&(var), #var, fich); fclose(fich); } |
Functions | |
void | hit_dumpTileInternal (const void *var, const char *name, FILE *file) |
Developers debug functions They are used to dump the fields of tile structures in a stream
Definition in file hit_dump.h.
#define hit_dumpTile | ( | var | ) | hit_dumpTileInternal(&(var), #var, stderr) |
Definition at line 60 of file hit_dump.h.
#define hit_dumpTileFile | ( | var, | |
prefix, | |||
comment | |||
) | { char name[16]; sprintf(name,"%s.%d",prefix,hit_Rank); FILE *fich; fich=fopen(name, "a"); fprintf(fich, comment); hit_dumpTileInternal(&(var), #var, fich); fclose(fich); } |
Definition at line 63 of file hit_dump.h.
void hit_dumpTileInternal | ( | const void * | var, |
const char * | name, | ||
FILE * | file | ||
) |
Definition at line 57 of file hit_dump.c.