mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Add 'const' to the draw_polygon coords array parameter.
Thanks to Mouse for spotting that it was missing.
This commit is contained in:
@ -1935,7 +1935,7 @@ This function may be used for both drawing and printing.
|
||||
|
||||
\S{drawing-draw-polygon} \cw{draw_polygon()}
|
||||
|
||||
\c void draw_polygon(drawing *dr, int *coords, int npoints,
|
||||
\c void draw_polygon(drawing *dr, const int *coords, int npoints,
|
||||
\c int fillcolour, int outlinecolour);
|
||||
|
||||
Draws an outlined or filled polygon in the puzzle window.
|
||||
@ -2497,7 +2497,7 @@ function; see \k{drawing-draw-line}.
|
||||
|
||||
\S{drawingapi-draw-polygon} \cw{draw_polygon()}
|
||||
|
||||
\c void (*draw_polygon)(void *handle, int *coords, int npoints,
|
||||
\c void (*draw_polygon)(void *handle, const int *coords, int npoints,
|
||||
\c int fillcolour, int outlinecolour);
|
||||
|
||||
This function behaves exactly like the back end \cw{draw_polygon()}
|
||||
|
Reference in New Issue
Block a user