Have you ever worked on your project, stopped to test and be met with the following:
error: implicit declaration of function 'ft_not_in_header'
Well, look no further! Forehead has got you covered 😉
Forehead was made to make your life as easy as possible.
It will take your source files and prototype all the functions for you!
You don't even have to worry about norminette 🚀
git clone https://github.com/Tishj/forehead ~/forehead
make -C ~/forehead release
. ~/forehead/install.sh
forehead [OPTIONS] SOURCEFILES
Example:
forehead -o minishell.h ./src/*
- Detect and update indentation
- Remove concurrent empty lines
- Makes prototypes fit within a 80 character line:
void ft_mlx_pixel_to_img(t_data *data, int x, int y,
t_col color);