Name 'grid_t' structure.

Preserve backwards compatibility typedef.
This commit is contained in:
Bård Skaflestad 2011-11-30 10:34:41 +01:00
parent 8595ea52b0
commit e2d069836e

View File

@ -26,7 +26,7 @@ extern "C" {
#endif
typedef struct {
struct UnstructuredGrid {
int dimensions;
int number_of_cells;
@ -48,7 +48,9 @@ typedef struct {
double *cell_centroids;
double *cell_volumes;
} grid_t;
};
typedef struct UnstructuredGrid grid_t;
#ifdef __cplusplus