skeletton untested project
This commit is contained in:
commit
6fc620e8f4
187 changed files with 6584 additions and 0 deletions
31
libft/ft_vecint.h
Executable file
31
libft/ft_vecint.h
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_vecint.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: thrieg <thrieg@student.42mulhouse.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/11/18 11:12:31 by thrieg #+# #+# */
|
||||
/* Updated: 2025/02/16 19:05:48 by thrieg ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef FT_VECINT_H
|
||||
# define FT_VECINT_H
|
||||
|
||||
# include <stdlib.h>
|
||||
|
||||
typedef struct s_vecint
|
||||
{
|
||||
int *buffer;
|
||||
size_t index;
|
||||
size_t size;
|
||||
char finished;
|
||||
} t_vecint;
|
||||
|
||||
t_vecint *ft_vecint_concat(t_vecint *dest, const void *src, size_t size);
|
||||
t_vecint *ft_create_vecint(size_t size);
|
||||
void ft_free_vecint(t_vecint **vec);
|
||||
t_vecint *ft_vecint_pushback(t_vecint *dest, int c);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue