bplane: constify BPEnumInit()

This commit is contained in:
Darryl L. Miles
2025-04-09 15:07:27 -04:00
committed by R. Timothy Edwards
parent 650d800b12
commit 69df88520c
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -50,9 +50,9 @@
*/
void BPEnumInit(BPEnum *bpe, /* enum to initialize */
BPlane *bp,
Rect *area, /* search area */
const Rect *area, /* search area */
int match,
char *id) /* for debugging */
const char *id) /* for debugging */
{
bool inside = FALSE;
bpe->bpe_plane = bp;
+1 -1
View File
@@ -182,7 +182,7 @@ typedef struct bpenum
BPlane *bpe_plane; /* plane being searched */
Rect bpe_srchArea; /* area being searched */
int bpe_match; /* match criteria */
char *bpe_id; /* for debug */
const char *bpe_id; /* for debug */
int bpe_subBinMinX;
int bpe_subBinMinY; /* consider subbinning
* for bins bigger than this.
+2 -2
View File
@@ -185,9 +185,9 @@ extern void BPEnumInit(BPEnum *bpe, /* this procedure initializes this
* enumeration.
*/
BPlane *bp, /* bplane to search */
Rect *area, /* area to search */
const Rect *area, /* area to search */
int match, /* see below */
char *id); /* for debugging */
const char *id); /* for debugging */
/* match values */
/* enum all elements in the bplane (area arg must be null) */