summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-02-18 12:02:45 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-02-20 13:27:42 +0900
commit126cbbc7a99a8368032b5706349a47edfa1643c8 (patch)
tree0b797d6e1cd5b2a1e3cfaf62872dc3efe0dde896 /src
parent4b2708a502f8c49b757c2fb3ac7c57d003397abe (diff)
Evas filters: Mark parser functions as EAPI for tests
The filter unit test case will directly call the parser functions.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c10
-rw-r--r--src/lib/evas/include/evas_filter.h11
2 files changed, 10 insertions, 11 deletions
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index 25b3b1f669..01ff619b95 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -1669,7 +1669,7 @@ _instruction_create(const char *name)
1669#undef PARSE_CHECK 1669#undef PARSE_CHECK
1670#define PARSE_CHECK(a) do { if (!(a)) { ERR("Parsing failed because '%s' is false at %s:%d", #a, __FUNCTION__, __LINE__); PARSE_ABORT(); goto end; } } while (0) 1670#define PARSE_CHECK(a) do { if (!(a)) { ERR("Parsing failed because '%s' is false at %s:%d", #a, __FUNCTION__, __LINE__); PARSE_ABORT(); goto end; } } while (0)
1671 1671
1672void 1672EAPI void
1673evas_filter_program_del(Evas_Filter_Program *pgm) 1673evas_filter_program_del(Evas_Filter_Program *pgm)
1674{ 1674{
1675 Evas_Filter_Instruction *instr; 1675 Evas_Filter_Instruction *instr;
@@ -1742,7 +1742,7 @@ end:
1742 1742
1743/** Parse a style program */ 1743/** Parse a style program */
1744 1744
1745Eina_Bool 1745EAPI Eina_Bool
1746evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str) 1746evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str)
1747{ 1747{
1748 Evas_Filter_Instruction *instr = NULL; 1748 Evas_Filter_Instruction *instr = NULL;
@@ -1832,7 +1832,7 @@ end:
1832 1832
1833/** Evaluate required padding to correctly apply an effect */ 1833/** Evaluate required padding to correctly apply an effect */
1834 1834
1835Eina_Bool 1835EAPI Eina_Bool
1836evas_filter_program_padding_get(Evas_Filter_Program *pgm, 1836evas_filter_program_padding_get(Evas_Filter_Program *pgm,
1837 int *l, int *r, int *t, int *b) 1837 int *l, int *r, int *t, int *b)
1838{ 1838{
@@ -1868,7 +1868,7 @@ evas_filter_program_padding_get(Evas_Filter_Program *pgm,
1868 1868
1869/** Create an empty filter program for style parsing */ 1869/** Create an empty filter program for style parsing */
1870 1870
1871Evas_Filter_Program * 1871EAPI Evas_Filter_Program *
1872evas_filter_program_new(const char *name) 1872evas_filter_program_new(const char *name)
1873{ 1873{
1874 Evas_Filter_Program *pgm; 1874 Evas_Filter_Program *pgm;
@@ -1883,7 +1883,7 @@ evas_filter_program_new(const char *name)
1883} 1883}
1884 1884
1885/** Bind objects for proxy rendering */ 1885/** Bind objects for proxy rendering */
1886void 1886EAPI void
1887evas_filter_program_source_set_all(Evas_Filter_Program *pgm, 1887evas_filter_program_source_set_all(Evas_Filter_Program *pgm,
1888 Eina_Hash *proxies) 1888 Eina_Hash *proxies)
1889{ 1889{
diff --git a/src/lib/evas/include/evas_filter.h b/src/lib/evas/include/evas_filter.h
index f569b6e9e5..2ad272c0f2 100644
--- a/src/lib/evas/include/evas_filter.h
+++ b/src/lib/evas/include/evas_filter.h
@@ -91,13 +91,12 @@ enum _Evas_Filter_Transform_Flags
91}; 91};
92 92
93/* Parser stuff (high level API) */ 93/* Parser stuff (high level API) */
94Evas_Filter_Program *evas_filter_program_new(const char *name); 94EAPI Evas_Filter_Program *evas_filter_program_new(const char *name);
95Eina_Bool evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str); 95EAPI Eina_Bool evas_filter_program_parse(Evas_Filter_Program *pgm, const char *str);
96void evas_filter_program_del(Evas_Filter_Program *pgm); 96EAPI void evas_filter_program_del(Evas_Filter_Program *pgm);
97Eina_Bool evas_filter_context_program_use(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm); 97Eina_Bool evas_filter_context_program_use(Evas_Filter_Context *ctx, Evas_Filter_Program *pgm);
98Eina_Bool evas_filter_program_padding_get(Evas_Filter_Program *pgm, int *l, int *r, int *t, int *b); 98EAPI Eina_Bool evas_filter_program_padding_get(Evas_Filter_Program *pgm, int *l, int *r, int *t, int *b);
99//void evas_filter_program_source_set(Evas_Filter_Program *pgm, const char *name, Evas_Object *object); 99EAPI void evas_filter_program_source_set_all(Evas_Filter_Program *pgm, Eina_Hash *sources);
100void evas_filter_program_source_set_all(Evas_Filter_Program *pgm, Eina_Hash *sources);
101void evas_filter_context_proxy_render_all(Evas_Filter_Context *ctx, Eo *eo_obj, Eina_Bool do_async); 100void evas_filter_context_proxy_render_all(Evas_Filter_Context *ctx, Eo *eo_obj, Eina_Bool do_async);
102 101
103/* Filter context (low level) */ 102/* Filter context (low level) */