added a new pragma pedantic to make syntax check stricter - for now. it flags about unused local and global variables
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-13 22:09:05 +09:00
parent 3d64e38f5a
commit d3b90da1e7
11 changed files with 203 additions and 74 deletions

View File

@@ -180,6 +180,7 @@ struct hawk_arr_t
hawk_gem_t* gem;
const hawk_arr_style_t* style;
hawk_uint8_t scale; /* scale factor */
hawk_uint16_t inline_slot_xtnsize;
hawk_oow_t heap_pos_offset; /* offset in the data element where position
* is stored when heap operation is performed. */
hawk_oow_t size; /* number of items */
@@ -262,14 +263,13 @@ HAWK_EXPORT int hawk_arr_getscale (
*/
HAWK_EXPORT void hawk_arr_setscale (
hawk_arr_t* arr /**< array */,
int scale /**< scale factor - 1 to 255 */
int scale /**< scale factor - 1 to 255 */
);
HAWK_EXPORT hawk_arr_copier_t hawk_arr_getcopier (
hawk_arr_t* arr /* array */
);
HAWK_EXPORT void hawk_arr_setstyle (
hawk_arr_t* arr,
const hawk_arr_style_t* style