aboutsummaryrefslogtreecommitdiff
path: root/include/debug_tools.h
blob: 6c4bc294c0805a26e5a84dfc2c51cabf98edd063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   debug_tools.h                                      :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: chuhlig <chuhlig@student.42.fr>            +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2024/06/24 18:34:37 by dkaiser           #+#    #+#             */
/*   Updated: 2025/01/19 21:08:15 by chuhlig          ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef DEBUG_TOOLS_H
# define DEBUG_TOOLS_H
# include <stdarg.h>
# include "debug_tools.h"

# include "libft.h"

# ifndef DEBUG
#  define DEBUG 0
# endif
# define UNREACHABLE "Unreachable."

void	dbg(char *str);
void	panic(char *msg);


void	dbg2(const char *format, ...);


#endif