summaryrefslogtreecommitdiff
path: root/legacy/edje
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2008-10-26 17:18:19 +0000
committerVincent Torri <vincent.torri@gmail.com>2008-10-26 17:18:19 +0000
commit0d8b00fdebbf00f5ac8d366d465a154fb083f5c5 (patch)
tree79ff27822e422d7ee537e3d4aee3ffdc90d4ed9e /legacy/edje
parentf0783945d9c2eea9ad29488bd42b7f438b0db706 (diff)
* move standard header files to source files
* remove gendoc SVN revision: 37158
Diffstat (limited to 'legacy/edje')
-rwxr-xr-xlegacy/edje/gendoc17
-rw-r--r--legacy/edje/src/bin/Makefile.am7
-rw-r--r--legacy/edje/src/bin/edje_cc.c6
-rw-r--r--legacy/edje/src/bin/edje_cc.h2
-rw-r--r--legacy/edje/src/bin/edje_cc_handlers.c7
-rw-r--r--legacy/edje/src/bin/edje_cc_mem.c3
-rw-r--r--legacy/edje/src/bin/edje_cc_out.c8
-rw-r--r--legacy/edje/src/bin/edje_cc_parse.c8
-rw-r--r--legacy/edje/src/bin/edje_cc_sources.c4
-rw-r--r--legacy/edje/src/bin/edje_decc.c9
-rw-r--r--legacy/edje/src/bin/edje_decc.h2
-rw-r--r--legacy/edje/src/bin/edje_main.h21
-rw-r--r--legacy/edje/src/lib/edje_cache.c24
-rw-r--r--legacy/edje/src/lib/edje_calc.c3
-rw-r--r--legacy/edje/src/lib/edje_edit.c6
-rw-r--r--legacy/edje/src/lib/edje_embryo.c23
-rw-r--r--legacy/edje/src/lib/edje_entry.c23
-rw-r--r--legacy/edje/src/lib/edje_load.c2
-rw-r--r--legacy/edje/src/lib/edje_main.c2
-rw-r--r--legacy/edje/src/lib/edje_match.c2
-rw-r--r--legacy/edje/src/lib/edje_message_queue.c2
-rw-r--r--legacy/edje/src/lib/edje_private.h37
-rw-r--r--legacy/edje/src/lib/edje_program.c2
-rw-r--r--legacy/edje/src/lib/edje_script_only.c21
-rw-r--r--legacy/edje/src/lib/edje_text.c2
-rw-r--r--legacy/edje/src/lib/edje_textblock_styles.c2
-rw-r--r--legacy/edje/src/lib/edje_util.c2
-rw-r--r--legacy/edje/src/lib/edje_var.c2
28 files changed, 178 insertions, 71 deletions
diff --git a/legacy/edje/gendoc b/legacy/edje/gendoc
deleted file mode 100755
index 1b20190859..0000000000
--- a/legacy/edje/gendoc
+++ /dev/null
@@ -1,17 +0,0 @@
1#!/bin/sh
2cp ./edje.c.in ./edje.c
3cat ./src/lib/Edje.h >> ./edje.c
4for I in `find ./src/lib -name "*.c" -print | grep -v edje_edit.c`; do
5 cat $I >> ./edje.c
6done
7rm -rf ./doc/html ./doc/latex ./doc/man
8mkdir -p ./doc/html ./doc/latex ./doc/man
9doxygen
10cp doc/img/*.png doc/html/
11cp doc/img/*.gif doc/html/
12cp doc/img/*.jpg doc/html/
13cp doc/*.css doc/html/
14rm -f edje_docs.tar edje_docs.tar.gz
15tar -cvf edje_docs.tar doc/html doc/man doc/latex
16gzip -9 edje_docs.tar
17exit 0
diff --git a/legacy/edje/src/bin/Makefile.am b/legacy/edje/src/bin/Makefile.am
index 6a229a0025..04e7f97edd 100644
--- a/legacy/edje/src/bin/Makefile.am
+++ b/legacy/edje/src/bin/Makefile.am
@@ -39,15 +39,12 @@ edje_decc
39 39
40edje_cc_SOURCES = \ 40edje_cc_SOURCES = \
41edje_cc.c \ 41edje_cc.c \
42edje_cc.h \
43edje_cc_out.c \ 42edje_cc_out.c \
44edje_cc_parse.c \ 43edje_cc_parse.c \
45edje_cc_mem.c \ 44edje_cc_mem.c \
46edje_cc_handlers.c \ 45edje_cc_handlers.c \
47edje_cc_sources.c \ 46edje_cc_sources.c \
48edje_prefix.c \ 47edje_prefix.c
49edje_prefix.h \
50edje_main.h
51 48
52edje_cc_LDADD = $(top_builddir)/src/lib/libedje.la $(ECORE_EVAS_LIBS) $(EVIL_LIBS) 49edje_cc_LDADD = $(top_builddir)/src/lib/libedje.la $(ECORE_EVAS_LIBS) $(EVIL_LIBS)
53edje_cc_LDFLAGS = @lt_enable_auto_import@ 50edje_cc_LDFLAGS = @lt_enable_auto_import@
@@ -61,3 +58,5 @@ edje_cc_sources.c
61 58
62edje_decc_LDADD = $(top_builddir)/src/lib/libedje.la $(ECORE_EVAS_LIBS) $(ECORE_FILE_LIBS) 59edje_decc_LDADD = $(top_builddir)/src/lib/libedje.la $(ECORE_EVAS_LIBS) $(ECORE_FILE_LIBS)
63edje_decc_LDFLAGS = @lt_enable_auto_import@ 60edje_decc_LDFLAGS = @lt_enable_auto_import@
61
62EXTRA_DIST = edje_prefix.h edje_cc.h
diff --git a/legacy/edje/src/bin/edje_cc.c b/legacy/edje/src/bin/edje_cc.c
index fe8cc05bee..5b3ade7eee 100644
--- a/legacy/edje/src/bin/edje_cc.c
+++ b/legacy/edje/src/bin/edje_cc.c
@@ -2,7 +2,13 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6#include <locale.h>
7#include <limits.h>
8#include <sys/stat.h>
9
5#include "edje_cc.h" 10#include "edje_cc.h"
11#include "edje_prefix.h"
6 12
7static void main_help(void); 13static void main_help(void);
8 14
diff --git a/legacy/edje/src/bin/edje_cc.h b/legacy/edje/src/bin/edje_cc.h
index d25410f261..117a1bc5a6 100644
--- a/legacy/edje/src/bin/edje_cc.h
+++ b/legacy/edje/src/bin/edje_cc.h
@@ -1,7 +1,7 @@
1#ifndef EDJE_CC_H 1#ifndef EDJE_CC_H
2#define EDJE_CC_H 2#define EDJE_CC_H
3 3
4#include "edje_main.h" 4#include <edje_private.h>
5 5
6/* 6/*
7 * On Windows, if the file is not opened in binary mode, 7 * On Windows, if the file is not opened in binary mode,
diff --git a/legacy/edje/src/bin/edje_cc_handlers.c b/legacy/edje/src/bin/edje_cc_handlers.c
index 9c4c04c035..0d9d25dd40 100644
--- a/legacy/edje/src/bin/edje_cc_handlers.c
+++ b/legacy/edje/src/bin/edje_cc_handlers.c
@@ -41,6 +41,13 @@
41 * <table class="edcref" border="0"> 41 * <table class="edcref" border="0">
42 */ 42 */
43 43
44#include <string.h>
45#include <errno.h>
46#include <fcntl.h>
47#include <sys/stat.h>
48#include <sys/mman.h>
49#include <unistd.h>
50
44#include "edje_cc.h" 51#include "edje_cc.h"
45 52
46static void st_images_image(void); 53static void st_images_image(void);
diff --git a/legacy/edje/src/bin/edje_cc_mem.c b/legacy/edje/src/bin/edje_cc_mem.c
index 074d34397b..a4c2cf8195 100644
--- a/legacy/edje/src/bin/edje_cc_mem.c
+++ b/legacy/edje/src/bin/edje_cc_mem.c
@@ -2,6 +2,9 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6#include <errno.h>
7
5#include "edje_cc.h" 8#include "edje_cc.h"
6 9
7void * 10void *
diff --git a/legacy/edje/src/bin/edje_cc_out.c b/legacy/edje/src/bin/edje_cc_out.c
index 5db10640ca..3171d7b93c 100644
--- a/legacy/edje/src/bin/edje_cc_out.c
+++ b/legacy/edje/src/bin/edje_cc_out.c
@@ -2,7 +2,15 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6#include <limits.h>
7#include <unistd.h>
8#include <sys/stat.h>
9
10#include <Ecore_Evas.h>
11
5#include "edje_cc.h" 12#include "edje_cc.h"
13#include "edje_prefix.h"
6 14
7typedef struct _Part_Lookup Part_Lookup; 15typedef struct _Part_Lookup Part_Lookup;
8typedef struct _Program_Lookup Program_Lookup; 16typedef struct _Program_Lookup Program_Lookup;
diff --git a/legacy/edje/src/bin/edje_cc_parse.c b/legacy/edje/src/bin/edje_cc_parse.c
index 57e0a1bbc4..57fcd69a28 100644
--- a/legacy/edje/src/bin/edje_cc_parse.c
+++ b/legacy/edje/src/bin/edje_cc_parse.c
@@ -2,6 +2,14 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6#include <ctype.h>
7#include <limits.h>
8#include <errno.h>
9#include <sys/types.h>
10#include <unistd.h>
11#include <fcntl.h>
12
5#include "edje_cc.h" 13#include "edje_cc.h"
6 14
7static void new_object(void); 15static void new_object(void);
diff --git a/legacy/edje/src/bin/edje_cc_sources.c b/legacy/edje/src/bin/edje_cc_sources.c
index 3685dd1737..1e80fb6899 100644
--- a/legacy/edje/src/bin/edje_cc_sources.c
+++ b/legacy/edje/src/bin/edje_cc_sources.c
@@ -2,6 +2,10 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6#include <ctype.h>
7#include <limits.h>
8
5#include "edje_cc.h" 9#include "edje_cc.h"
6 10
7static Eet_Data_Descriptor *_srcfile_edd = NULL; 11static Eet_Data_Descriptor *_srcfile_edd = NULL;
diff --git a/legacy/edje/src/bin/edje_decc.c b/legacy/edje/src/bin/edje_decc.c
index 928b0bf918..40e61793a4 100644
--- a/legacy/edje/src/bin/edje_decc.c
+++ b/legacy/edje/src/bin/edje_decc.c
@@ -8,7 +8,16 @@
8# include <config.h> 8# include <config.h>
9#endif 9#endif
10 10
11#include <string.h>
12#include <ctype.h>
13#include <unistd.h>
14#include <locale.h>
15#include <sys/types.h>
16#include <sys/stat.h>
17
18
11#include <Ecore_File.h> 19#include <Ecore_File.h>
20#include <Ecore_Evas.h>
12 21
13#include "edje_decc.h" 22#include "edje_decc.h"
14 23
diff --git a/legacy/edje/src/bin/edje_decc.h b/legacy/edje/src/bin/edje_decc.h
index 2f9050e909..be0495ce87 100644
--- a/legacy/edje/src/bin/edje_decc.h
+++ b/legacy/edje/src/bin/edje_decc.h
@@ -1,7 +1,7 @@
1#ifndef EDJE_DECC_H 1#ifndef EDJE_DECC_H
2#define EDJE_DECC_H 2#define EDJE_DECC_H
3 3
4#include "edje_main.h" 4#include <edje_private.h>
5 5
6/* types */ 6/* types */
7typedef struct _Font Font; 7typedef struct _Font Font;
diff --git a/legacy/edje/src/bin/edje_main.h b/legacy/edje/src/bin/edje_main.h
index 195af10524..032a07e174 100644
--- a/legacy/edje/src/bin/edje_main.h
+++ b/legacy/edje/src/bin/edje_main.h
@@ -2,18 +2,19 @@
2#define EDJE_MAIN_H 2#define EDJE_MAIN_H
3 3
4 4
5#ifdef HAVE_CONFIG_H 5/* #ifdef HAVE_CONFIG_H */
6# include <config.h> 6/* # include <config.h> */
7#endif 7/* #endif */
8 8
9#include <fcntl.h> 9/* #include <fcntl.h> */
10#include <stdarg.h> 10/* #include <stdarg.h> */
11#include <ctype.h> 11/* #include <ctype.h> */
12#include <sys/mman.h> 12/* #include <sys/mman.h> */
13/* #include <locale.h> */
13 14
14#include <Ecore_Evas.h> 15/* #include <Ecore_Evas.h> */
15 16
16#include "edje_private.h" 17/* #include "edje_private.h" */
17#include "edje_prefix.h" 18/* #include "edje_prefix.h" */
18 19
19#endif 20#endif
diff --git a/legacy/edje/src/lib/edje_cache.c b/legacy/edje/src/lib/edje_cache.c
index 0048b65935..b0bd0c884e 100644
--- a/legacy/edje/src/lib/edje_cache.c
+++ b/legacy/edje/src/lib/edje_cache.c
@@ -2,6 +2,30 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <string.h>
10#include <sys/stat.h>
11
12#ifdef HAVE_ALLOCA_H
13# include <alloca.h>
14#elif defined __GNUC__
15# define alloca __builtin_alloca
16#elif defined _AIX
17# define alloca __alloca
18#elif defined _MSC_VER
19# include <malloc.h>
20# define alloca _alloca
21#else
22# include <stddef.h>
23# ifdef __cplusplus
24extern "C"
25# endif
26void *alloca (size_t);
27#endif
28
5#include "edje_private.h" 29#include "edje_private.h"
6 30
7static Evas_Hash *_edje_file_hash = NULL; 31static Evas_Hash *_edje_file_hash = NULL;
diff --git a/legacy/edje/src/lib/edje_calc.c b/legacy/edje/src/lib/edje_calc.c
index d412a00a18..91fc593bc5 100644
--- a/legacy/edje/src/lib/edje_calc.c
+++ b/legacy/edje/src/lib/edje_calc.c
@@ -2,7 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <eina_convert.h> 5#include <string.h>
6#include <math.h>
6 7
7#include "edje_private.h" 8#include "edje_private.h"
8 9
diff --git a/legacy/edje/src/lib/edje_edit.c b/legacy/edje/src/lib/edje_edit.c
index d8a31de710..57b30e716b 100644
--- a/legacy/edje/src/lib/edje_edit.c
+++ b/legacy/edje/src/lib/edje_edit.c
@@ -10,6 +10,12 @@
10 * 10 *
11 */ 11 */
12 12
13#include <string.h>
14#include <limits.h>
15#include <unistd.h>
16#include <sys/stat.h>
17#include <errno.h>
18
13#include "edje_private.h" 19#include "edje_private.h"
14#include "edje_cc.h" 20#include "edje_cc.h"
15 21
diff --git a/legacy/edje/src/lib/edje_embryo.c b/legacy/edje/src/lib/edje_embryo.c
index dad30c514d..11303a705f 100644
--- a/legacy/edje/src/lib/edje_embryo.c
+++ b/legacy/edje/src/lib/edje_embryo.c
@@ -2,6 +2,29 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <string.h>
10
11#ifdef HAVE_ALLOCA_H
12# include <alloca.h>
13#elif defined __GNUC__
14# define alloca __builtin_alloca
15#elif defined _AIX
16# define alloca __alloca
17#elif defined _MSC_VER
18# include <malloc.h>
19# define alloca _alloca
20#else
21# include <stddef.h>
22# ifdef __cplusplus
23extern "C"
24# endif
25void *alloca (size_t);
26#endif
27
5#include "edje_private.h" 28#include "edje_private.h"
6 29
7/* 30/*
diff --git a/legacy/edje/src/lib/edje_entry.c b/legacy/edje/src/lib/edje_entry.c
index ec135b6862..d44c4ccf45 100644
--- a/legacy/edje/src/lib/edje_entry.c
+++ b/legacy/edje/src/lib/edje_entry.c
@@ -2,6 +2,29 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#include <string.h>
10
11#ifdef HAVE_ALLOCA_H
12# include <alloca.h>
13#elif defined __GNUC__
14# define alloca __builtin_alloca
15#elif defined _AIX
16# define alloca __alloca
17#elif defined _MSC_VER
18# include <malloc.h>
19# define alloca _alloca
20#else
21# include <stddef.h>
22# ifdef __cplusplus
23extern "C"
24# endif
25void *alloca (size_t);
26#endif
27
5#include "edje_private.h" 28#include "edje_private.h"
6 29
7// FIXME: need a way to propagate emits to selections and cursors (eg for disabled etc.) 30// FIXME: need a way to propagate emits to selections and cursors (eg for disabled etc.)
diff --git a/legacy/edje/src/lib/edje_load.c b/legacy/edje/src/lib/edje_load.c
index 25ecc16ae1..1b07e6be9a 100644
--- a/legacy/edje/src/lib/edje_load.c
+++ b/legacy/edje/src/lib/edje_load.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7void _edje_collection_free_part_description_free(Edje_Part_Description *desc, unsigned int free_strings); 9void _edje_collection_free_part_description_free(Edje_Part_Description *desc, unsigned int free_strings);
diff --git a/legacy/edje/src/lib/edje_main.c b/legacy/edje/src/lib/edje_main.c
index 40cdf72dc4..2e800364c1 100644
--- a/legacy/edje/src/lib/edje_main.c
+++ b/legacy/edje/src/lib/edje_main.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <time.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7static int initted = 0; 9static int initted = 0;
diff --git a/legacy/edje/src/lib/edje_match.c b/legacy/edje/src/lib/edje_match.c
index 596ab9b5ac..550f7b2d28 100644
--- a/legacy/edje/src/lib/edje_match.c
+++ b/legacy/edje/src/lib/edje_match.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7/* States manipulations. */ 9/* States manipulations. */
diff --git a/legacy/edje/src/lib/edje_message_queue.c b/legacy/edje/src/lib/edje_message_queue.c
index e20e00b8b7..65ed934e75 100644
--- a/legacy/edje/src/lib/edje_message_queue.c
+++ b/legacy/edje/src/lib/edje_message_queue.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7static Ecore_Job *job = NULL; 9static Ecore_Job *job = NULL;
diff --git a/legacy/edje/src/lib/edje_private.h b/legacy/edje/src/lib/edje_private.h
index 50f505baeb..1bed06bda9 100644
--- a/legacy/edje/src/lib/edje_private.h
+++ b/legacy/edje/src/lib/edje_private.h
@@ -5,43 +5,6 @@
5# include <config.h> 5# include <config.h>
6#endif 6#endif
7 7
8#include <stdlib.h>
9#include <stdio.h>
10#include <stddef.h>
11#include <sys/types.h>
12#include <sys/stat.h>
13#include <unistd.h>
14#include <string.h>
15#include <limits.h>
16#include <math.h>
17#include <time.h>
18#include <assert.h>
19#ifdef HAVE_LOCALE_H
20# include <locale.h>
21#endif
22#include <errno.h>
23
24#ifdef HAVE_STDINT_H
25#include <stdint.h>
26#endif
27
28#ifdef HAVE_ALLOCA_H
29# include <alloca.h>
30#elif defined __GNUC__
31# define alloca __builtin_alloca
32#elif defined _AIX
33# define alloca __alloca
34#elif defined _MSC_VER
35# include <malloc.h>
36# define alloca _alloca
37#else
38# include <stddef.h>
39# ifdef __cplusplus
40extern "C"
41# endif
42void *alloca (size_t);
43#endif
44
45#ifdef HAVE_EVIL 8#ifdef HAVE_EVIL
46# include <Evil.h> 9# include <Evil.h>
47#endif 10#endif
diff --git a/legacy/edje/src/lib/edje_program.c b/legacy/edje/src/lib/edje_program.c
index 691115d991..46c78ef1b7 100644
--- a/legacy/edje/src/lib/edje_program.c
+++ b/legacy/edje/src/lib/edje_program.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7static void _edje_emit_cb(Edje *ed, const char *sig, const char *src); 9static void _edje_emit_cb(Edje *ed, const char *sig, const char *src);
diff --git a/legacy/edje/src/lib/edje_script_only.c b/legacy/edje/src/lib/edje_script_only.c
index 0dffa7b879..cfc1c82a77 100644
--- a/legacy/edje/src/lib/edje_script_only.c
+++ b/legacy/edje/src/lib/edje_script_only.c
@@ -2,6 +2,27 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#ifdef HAVE_CONFIG_H
6# include <config.h>
7#endif
8
9#ifdef HAVE_ALLOCA_H
10# include <alloca.h>
11#elif defined __GNUC__
12# define alloca __builtin_alloca
13#elif defined _AIX
14# define alloca __alloca
15#elif defined _MSC_VER
16# include <malloc.h>
17# define alloca _alloca
18#else
19# include <stddef.h>
20# ifdef __cplusplus
21extern "C"
22# endif
23void *alloca (size_t);
24#endif
25
5#include "edje_private.h" 26#include "edje_private.h"
6 27
7/* 28/*
diff --git a/legacy/edje/src/lib/edje_text.c b/legacy/edje/src/lib/edje_text.c
index 771ae3c803..356c7abd72 100644
--- a/legacy/edje/src/lib/edje_text.c
+++ b/legacy/edje/src/lib/edje_text.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7 9
diff --git a/legacy/edje/src/lib/edje_textblock_styles.c b/legacy/edje/src/lib/edje_textblock_styles.c
index 3a0bccba50..232b1fd453 100644
--- a/legacy/edje/src/lib/edje_textblock_styles.c
+++ b/legacy/edje/src/lib/edje_textblock_styles.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7static int 9static int
diff --git a/legacy/edje/src/lib/edje_util.c b/legacy/edje/src/lib/edje_util.c
index 131a4bcc83..0044e75c3d 100644
--- a/legacy/edje/src/lib/edje_util.c
+++ b/legacy/edje/src/lib/edje_util.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7static Evas_Hash *_edje_color_class_hash = NULL; 9static Evas_Hash *_edje_color_class_hash = NULL;
diff --git a/legacy/edje/src/lib/edje_var.c b/legacy/edje/src/lib/edje_var.c
index 56fc4153eb..8aaf8190d0 100644
--- a/legacy/edje/src/lib/edje_var.c
+++ b/legacy/edje/src/lib/edje_var.c
@@ -2,6 +2,8 @@
2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2 2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
3 */ 3 */
4 4
5#include <string.h>
6
5#include "edje_private.h" 7#include "edje_private.h"
6 8
7static int _edje_var_timer_cb(void *data); 9static int _edje_var_timer_cb(void *data);