Skip to content

Commit 83915dc

Browse files
committed
Minor code reformatting.
1 parent 84b0327 commit 83915dc

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/develop/imageop.h

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -473,15 +473,19 @@ const gchar *dt_iop_get_localized_name(const gchar *op);
473473
const gchar *dt_iop_get_localized_aliases(const gchar *op);
474474

475475
/** set multi_priority and update raster mask links */
476-
void dt_iop_update_multi_priority(dt_iop_module_t *module, int new_priority);
476+
void dt_iop_update_multi_priority(dt_iop_module_t *module, const int new_priority);
477477

478478
/** iterates over the users hash table and checks if a specific mask is being used */
479479
gboolean dt_iop_is_raster_mask_used(const dt_iop_module_t *module, const dt_mask_id_t id);
480480
/** checks dt_iop_is_raster_mask_used() or writing for exports */
481-
gboolean dt_iop_piece_is_raster_mask_used(const struct dt_dev_pixelpipe_iop_t *piece, const dt_mask_id_t id);
481+
gboolean dt_iop_piece_is_raster_mask_used(const struct dt_dev_pixelpipe_iop_t *piece,
482+
const dt_mask_id_t id);
482483

483484
/** set and clear the rastermasks, check the pixelpipe cache and report */
484-
void dt_iop_piece_set_raster(struct dt_dev_pixelpipe_iop_t *piece, float *mask, const dt_iop_roi_t *const roi_in, const dt_iop_roi_t *const roi_out);
485+
void dt_iop_piece_set_raster(struct dt_dev_pixelpipe_iop_t *piece,
486+
float *mask,
487+
const dt_iop_roi_t *const roi_in,
488+
const dt_iop_roi_t *const roi_out);
485489
void dt_iop_piece_clear_raster(struct dt_dev_pixelpipe_iop_t *piece, float *mask);
486490

487491
/** returns the previous visible module on the module list */
@@ -534,7 +538,8 @@ const char **dt_iop_set_description(dt_iop_module_t *module,
534538
/** get a nice printable name. */
535539
const char *dt_iop_colorspace_to_name(const dt_iop_colorspace_type_t type);
536540

537-
static inline dt_iop_gui_data_t *_iop_gui_alloc(dt_iop_module_t *module, const size_t size)
541+
static inline dt_iop_gui_data_t *_iop_gui_alloc(dt_iop_module_t *module,
542+
const size_t size)
538543
{
539544
// Align so that DT_ALIGNED_ARRAY may be used within gui_data struct
540545
module->gui_data = dt_calloc_aligned(size);
@@ -561,9 +566,12 @@ gboolean dt_iop_canvas_not_sensitive(const struct dt_develop_t *dev);
561566
/* bring up module rename dialog */
562567
void dt_iop_gui_rename_module(dt_iop_module_t *module);
563568

564-
void dt_iop_gui_changed(dt_action_t *action, GtkWidget *widget, gpointer data);
569+
void dt_iop_gui_changed(dt_action_t *action,
570+
GtkWidget *widget,
571+
gpointer data);
565572

566-
gboolean dt_iop_module_is_skipped(const struct dt_develop_t *dev, const dt_iop_module_t *module);
573+
gboolean dt_iop_module_is_skipped(const struct dt_develop_t *dev,
574+
const dt_iop_module_t *module);
567575

568576
// copy the RGB channels of a pixel using nontemporal stores if
569577
// possible; includes the 'alpha' channel as well if faster due to

0 commit comments

Comments
 (0)