diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-21 15:58:12 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-21 15:58:12 +0200 |
| commit | ca5071168115e5cd272978e13ddb9fbb1365afbc (patch) | |
| tree | 121bc50df693b70771a17d9b364da4d3896c9344 /functions_reference/ref_ft_list_remove_if.c | |
| parent | d2fac61b27d827dc81a6ed867ec92dfad14a3385 (diff) | |
| download | libasm_test-ca5071168115e5cd272978e13ddb9fbb1365afbc.tar.gz libasm_test-ca5071168115e5cd272978e13ddb9fbb1365afbc.tar.bz2 libasm_test-ca5071168115e5cd272978e13ddb9fbb1365afbc.zip | |
WIP: Linux compatibility
Diffstat (limited to 'functions_reference/ref_ft_list_remove_if.c')
| -rw-r--r-- | functions_reference/ref_ft_list_remove_if.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/functions_reference/ref_ft_list_remove_if.c b/functions_reference/ref_ft_list_remove_if.c index 90bd1cc..c7a584f 100644 --- a/functions_reference/ref_ft_list_remove_if.c +++ b/functions_reference/ref_ft_list_remove_if.c @@ -6,12 +6,14 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/08 03:20:03 by cacharle #+# #+# */ -/* Updated: 2020/04/13 15:01:02 by charles ### ########.fr */ +/* Updated: 2020/10/21 15:28:59 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include "libasm_test.h" +#ifdef LIBASM_TEST_BONUS + void ref_ft_list_remove_if(t_list **begin_list, void *data_ref, int (*cmp)(), void (*free_fct)(void *)) { @@ -30,3 +32,5 @@ void ref_ft_list_remove_if(t_list **begin_list, void *data_ref, *begin_list = saved_next; ref_ft_list_remove_if(begin_list, data_ref, cmp, free_fct); } + +#endif |
