REFACTOR: Expanded many parameter names for functions.

DOCS: Corrected comments to match new parameters.
CHORE: Moved some variable definition to top of function call.
This commit is contained in:
2026-09-12 05:15:16 -04:00
parent 81c228beb8
commit 54a2d44a53
9 changed files with 181 additions and 184 deletions
+6 -6
View File
@@ -158,27 +158,27 @@ u64to_u32(const unsigned long clr, const unsigned long u64_div);
* @brief Prints quick debug info of container
* @details Prints metadata like Name, Format, Width, Height and Length
* important for debugging errors
* @param[in] src Pointer to src metadata of a PPM image
* @param[in] metadata Pointer to information of a PPM image
*/
void __attribute__((overloadable))
print_attr(const PPM* src);
print_attr(const PPM* metadata);
/**
* @brief Prints quick debug info of container
* @details Prints metadata like Name, Width, Height and Length
* important for debugging errors
* @param[in] src Pointer to src metadata of a JPEG image
* @param[in] metadata Pointer to information of a JPEG image
*/
void __attribute__((overloadable))
print_attr(const JPEG* src);
print_attr(const JPEG* metadata);
/**
* @brief Finds start of extension in image name
* @details Loops through the character array starting from the end to find the
* start of the extension.
* @param[in] n Char array (str)
* @param[in] str Char array to loop through
*/
size_t
find_extension(const char* n);
find_extension(const char* str);
#endif