From eeffb8766bd2b374c0cb5ba16ea5858f203dcdc0 Mon Sep 17 00:00:00 2001 From: Andrew Haynes Date: Wed, 9 Sep 2026 16:58:11 -0400 Subject: [PATCH] REFACTOR: renamed ppm_flip_h and ppm_flip_v to u32_flop and u32_flip respectively. It matches naming convention with rest of API --- include/image/transformations.h | 4 ++-- src/transformations.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/image/transformations.h b/include/image/transformations.h index 0971ccb..15f5070 100644 --- a/include/image/transformations.h +++ b/include/image/transformations.h @@ -13,7 +13,7 @@ * @retval NULL If original buffer is invalid or if new buffer fails to create * */ unsigned int* -ppm_flip_h(const unsigned int* buf, const PPM img); +u32_flop(const unsigned int* buf, const PPM img); /** * @brief Flips image on Y-Axis @@ -25,7 +25,7 @@ ppm_flip_h(const unsigned int* buf, const PPM img); * @retval NULL If original buffer is invalid or if new buffer fails to create * */ unsigned int* -ppm_flip_v(const unsigned int* buf, const PPM img); +ppm_flip(const unsigned int* buf, const PPM img); /** * @brief Rotates image on 90 Clockwise diff --git a/src/transformations.c b/src/transformations.c index be9275d..fa42212 100644 --- a/src/transformations.c +++ b/src/transformations.c @@ -6,7 +6,7 @@ #include "image/utils.h" unsigned int* -ppm_flip_h(const unsigned int* buf, const PPM img) +u32_flop(const unsigned int* buf, const PPM img) { if (!buf) { @@ -34,7 +34,7 @@ ppm_flip_h(const unsigned int* buf, const PPM img) } unsigned int* -ppm_flip_v(const unsigned int* buf, const PPM img) +u32_flip(const unsigned int* buf, const PPM img) { if (!buf) {