/forehead

Primary LanguageC++

Forehead

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 😉


Introduction

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 🚀


Quickstart

Install

git clone https://github.com/Tishj/forehead ~/forehead
make -C ~/forehead release
. ~/forehead/install.sh

Usage

forehead [OPTIONS] SOURCEFILES

Example: forehead -o minishell.h ./src/*

Features

  • 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);