17 lines
429 B
C
Raw Normal View History

2026-01-29 00:38:21 +01:00
// retoor <retoor@molodetz.nl>
#ifndef R_DIFF_H
#define R_DIFF_H
/**
* Prints a beautiful, colorized diff between two strings to stderr.
* Mimics the style of 'git diff'.
*
* @param path The path of the file being changed (for the header).
* @param old_content The original content.
* @param new_content The new content.
*/
void r_diff_print(const char *path, const char *old_content, const char *new_content);
#endif