aboutsummaryrefslogtreecommitdiff
path: root/src/pies.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-11-09 02:33:47 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-11-09 02:33:47 +0200
commit07b7c58b5faeb5973b003af94c67540202964bb5 (patch)
treefcc094b9e9cd9a14bfdf132e0e40322c253a7274 /src/pies.h
parente3405029a2ae73a7d7e9c93624f8206dbd2f2d1c (diff)
downloadpies-07b7c58b5faeb5973b003af94c67540202964bb5.tar.gz
pies-07b7c58b5faeb5973b003af94c67540202964bb5.tar.bz2
Minor change.
* src/depmap.c (struct pies_depmap.nrows,rowlen): Change type to size_t. (depmap_alloc, depmap_rowptr) (depmap_set, depmap_isset) (depmap_next, depmap_first): Use size_t to index map elements. * src/pies.h: Update prototypes accordingly. * src/progman.c: Update depmap function usage.
Diffstat (limited to 'src/pies.h')
-rw-r--r--src/pies.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pies.h b/src/pies.h
index 08a9c4f..b3a13f9 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -206,14 +206,14 @@ enum pies_depmap_direction
depmap_col = !depmap_row
};
-pies_depmap_t depmap_alloc (unsigned count);
+pies_depmap_t depmap_alloc (size_t count);
pies_depmap_t depmap_copy (pies_depmap_t dpm);
-void depmap_set (pies_depmap_t dmap, unsigned row, unsigned col);
-int depmap_isset (pies_depmap_t dmap, unsigned row, unsigned col);
+void depmap_set (pies_depmap_t dmap, size_t row, size_t col);
+int depmap_isset (pies_depmap_t dmap, size_t row, size_t col);
void depmap_tc (pies_depmap_t dmap);
-unsigned depmap_first (pies_depmap_t dmap, enum pies_depmap_direction dir,
- unsigned coord, pies_depmap_pos_t *ppos);
-unsigned depmap_next (pies_depmap_t dmap, pies_depmap_pos_t pos);
+size_t depmap_first (pies_depmap_t dmap, enum pies_depmap_direction dir,
+ size_t coord, pies_depmap_pos_t *ppos);
+size_t depmap_next (pies_depmap_t dmap, pies_depmap_pos_t pos);
int assert_grecs_value_type (grecs_locus_t *locus,
const grecs_value_t *value, int type);

Return to:

Send suggestions and report system problems to the System administrator.