struct itof for 42sh

This commit is contained in:
Jack Halford 2017-03-07 15:27:46 +01:00
parent 94a62c90a8
commit f3be89390b
4 changed files with 12 additions and 5 deletions

View file

@ -6,7 +6,7 @@
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 */
/* */
/* ************************************************************************** */

View file

@ -6,7 +6,7 @@
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 "ft_sys.h"
typedef struct s_stof t_stof;
typedef struct s_stos t_stos;
typedef struct s_stof t_stof;
typedef struct s_itof t_itof;
struct s_stos
{
@ -51,6 +52,12 @@ struct s_stof
int (*f)();
};
struct s_itof
{
char *name;
int (*f)();
};
int ft_printf(const char *format, ...);
int ft_dprintf(int fd, const char *format, ...);

View file

@ -6,7 +6,7 @@
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 */
/* */
/* ************************************************************************** */

View file

@ -6,7 +6,7 @@
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 */
/* */
/* ************************************************************************** */