this mirrors the behaviour of eolian & eolian_cxx. Usally a generator
just generates the files side by side, the directory then needs to be
included anyways. thus adding the include with another subdirectory is
unusal.
Differential Revision: https://phab.enlightenment.org/D7235
#include <Ecore.h>
#include <Ecore_Getopt.h>
#include <Ecore_Evas.h>
+#include <Ecore_File.h>
#include "Edje.h"
#define EDJE_EDIT_IS_UNSTABLE_AND_I_KNOW_ABOUT_IT 1
free(str);
- snprintf(buf, sizeof(buf), C_HEADER, filename);
+ snprintf(buf, sizeof(buf), C_HEADER, ecore_file_file_get(filename));
if (fwrite(buf, strlen(buf), 1, source_fd) != 1)
return EINA_FALSE;
#endif
#include <Ecore.h>
+#include <Ecore_File.h>
#include <Ecore_Evas.h>
#include <Ecore_Getopt.h>
#include <Edje.h>
free(str);
- snprintf(buf, sizeof(buf), C_HEADER, filename);
+ snprintf(buf, sizeof(buf), C_HEADER, ecore_file_file_get(filename));
if (fwrite(buf, strlen(buf), 1, source_fd) != 1)
return EINA_FALSE;