1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
2023-08-03 23:16:27 +02:00

24 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* charobj.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: axdubois <axdubois@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/08/02 15:09:36 by axdubois #+# #+# */
/* Updated: 2023/08/02 19:39:22 by axdubois ### ########.fr */
/* */
/* ************************************************************************** */
#include "../../includes/utils-h/charobj.h"
t_charobj ft_get_charobj(char *ftline,int sizeline)
{
t_charobj charobj;
charobj.n = ftline[sizeline -3];
charobj.o = ftline[sizeline -2];
charobj.x = ftline[sizeline -1];
return (charobj);
}