diff options
Diffstat (limited to '')
-rw-r--r-- | src/b_export.c | 5 | ||||
-rw-r--r-- | src/b_export_next.c | 11 | ||||
-rw-r--r-- | src/b_export_next.h | 2 |
3 files changed, 16 insertions, 2 deletions
diff --git a/src/b_export.c b/src/b_export.c index 52790e4..c47a8fb 100644 --- a/src/b_export.c +++ b/src/b_export.c @@ -14,8 +14,9 @@ #include <stdlib.h> #include <stdint.h> -#include "d_enum.h" #include "b_env.h" +#include "b_export_next.h" +#include "d_enum.h" #include "f_fail.h" #include "s_destroy.h" #include "s_lcom.h" @@ -121,7 +122,7 @@ uint8_t } else if (next == FALSE && check_equals(*ptr) == TRUE) { - /* TODO: verify global vars, delete if needed, export the thing */ + b_export_with_equals(*ptr, msh); } ptr++; } diff --git a/src/b_export_next.c b/src/b_export_next.c index 44d2b9b..2641f65 100644 --- a/src/b_export_next.c +++ b/src/b_export_next.c @@ -10,3 +10,14 @@ /* */ /* ************************************************************************** */ +#include <libft.h> + +#include "s_struct.h" + +void + b_export_with_equals(const char arg[], + t_msh *msh) +{ + (void)arg; + (void)msh; +} diff --git a/src/b_export_next.h b/src/b_export_next.h index 4a8781b..8df8746 100644 --- a/src/b_export_next.h +++ b/src/b_export_next.h @@ -15,4 +15,6 @@ #include "s_struct.h" +void b_export_with_equals(const char arg[], t_msh *msh); + #endif |