From e2d069836e71bc6587071f1206eab29be2c49779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Wed, 30 Nov 2011 10:34:41 +0100 Subject: [PATCH] Name 'grid_t' structure. Preserve backwards compatibility typedef. --- src/grid.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/grid.h b/src/grid.h index 492a4c6c..22a4211e 100644 --- a/src/grid.h +++ b/src/grid.h @@ -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