summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-09-01 13:09:37 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-09-01 14:12:31 +0200
commit0817c49e753d0e6fc24a301bc697a3c669ec2603 (patch)
tree2869d9cec8522723b6f5f50854059ccfa20d4b15 /src/lib/evas
parent5f73d130473e285d9d2a4ae4d61e6ba7ae4c41a2 (diff)
efl: remove unused functions
these are not used, if they are used again in the future, they can be get back via git.
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 45fc1a0028..c3c1426ea7 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -8475,50 +8475,6 @@ evas_object_textblock_replace_char_get(const Efl_Canvas_Textblock *obj)
8475 8475
8476/** 8476/**
8477 * @internal 8477 * @internal
8478 * Advance p_buff to point after the end of the string. It's used with the
8479 * @ref escaped_strings[] variable.
8480 *
8481 * @param p_buff the pointer to the current string.
8482 */
8483static inline void
8484_escaped_advance_after_end_of_string(const char **p_buf)
8485{
8486 while (**p_buf != 0) (*p_buf)++;
8487 (*p_buf)++;
8488}
8489
8490/**
8491 * @internal
8492 * Advance p_buff to point after the end of the string. It's used with the
8493 * @ref escaped_strings[] variable. Also chec if matches.
8494 * FIXME: doc.
8495 *
8496 * @param p_buff the pointer to the current string.
8497 */
8498static inline int
8499_escaped_is_eq_and_advance(const char *s, const char *s_end,
8500 const char **p_m, const char *m_end)
8501{
8502 Eina_Bool reached_end;
8503 for (;((s < s_end) && (*p_m < m_end)); s++, (*p_m)++)
8504 {
8505 if (*s != **p_m)
8506 {
8507 _escaped_advance_after_end_of_string(p_m);
8508 return 0;
8509 }
8510 }
8511
8512 reached_end = !**p_m;
8513 if (*p_m < m_end)
8514 _escaped_advance_after_end_of_string(p_m);
8515
8516 return ((s == s_end) && reached_end);
8517}
8518
8519
8520/**
8521 * @internal
8522 * 8478 *
8523 * @param s the escape string to search for its index 8479 * @param s the escape string to search for its index
8524 * @param s_len length of s string 8480 * @param s_len length of s string