-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
26 lines (23 loc) · 1.09 KB
/
main.c
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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aelphias <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/18 02:48:48 by aelphias #+# #+# */
/* Updated: 2020/02/18 03:17:14 by aelphias ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <stdio.h>
int main(void)
{
int i;
const void *content;
t_list *data;
i = 42;
data = ft_lstnew((const void *)i, sizeof(int));
printf("%d", data->content);
return (0);
}