struct itof for 42sh
This commit is contained in:
parent
6836fbf010
commit
d72502c41d
4 changed files with 12 additions and 5 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2016/11/16 11:13:15 by jhalford #+# #+# */
|
/* Created: 2016/11/16 11:13:15 by jhalford #+# #+# */
|
||||||
/* Updated: 2016/12/05 11:53:30 by jhalford ### ########.fr */
|
/* Updated: 2017/03/06 18:19:50 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2016/11/07 13:49:04 by jhalford #+# #+# */
|
/* Created: 2016/11/07 13:49:04 by jhalford #+# #+# */
|
||||||
/* Updated: 2017/02/20 17:25:39 by jhalford ### ########.fr */
|
/* Updated: 2017/03/07 14:54:00 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -36,8 +36,9 @@
|
||||||
# include "color.h"
|
# include "color.h"
|
||||||
# include "ft_sys.h"
|
# include "ft_sys.h"
|
||||||
|
|
||||||
typedef struct s_stof t_stof;
|
|
||||||
typedef struct s_stos t_stos;
|
typedef struct s_stos t_stos;
|
||||||
|
typedef struct s_stof t_stof;
|
||||||
|
typedef struct s_itof t_itof;
|
||||||
|
|
||||||
struct s_stos
|
struct s_stos
|
||||||
{
|
{
|
||||||
|
|
@ -51,6 +52,12 @@ struct s_stof
|
||||||
int (*f)();
|
int (*f)();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct s_itof
|
||||||
|
{
|
||||||
|
char *name;
|
||||||
|
int (*f)();
|
||||||
|
};
|
||||||
|
|
||||||
int ft_printf(const char *format, ...);
|
int ft_printf(const char *format, ...);
|
||||||
int ft_dprintf(int fd, const char *format, ...);
|
int ft_dprintf(int fd, const char *format, ...);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2016/08/16 13:43:51 by jhalford #+# #+# */
|
/* Created: 2016/08/16 13:43:51 by jhalford #+# #+# */
|
||||||
/* Updated: 2016/11/14 11:58:47 by jhalford ### ########.fr */
|
/* Updated: 2017/03/06 18:22:31 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2016/11/07 13:33:27 by jhalford #+# #+# */
|
/* Created: 2016/11/07 13:33:27 by jhalford #+# #+# */
|
||||||
/* Updated: 2017/02/18 13:05:26 by jhalford ### ########.fr */
|
/* Updated: 2017/03/07 15:14:03 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue