Commit Graph

11 Commits

Author SHA1 Message Date
dieb 470188ca4f Eina: fix compilation on strbuf.
SVN revision: 45965
2010-02-07 17:33:26 +00:00
Sebastian Dransfeld 0cead88ce8 Don't change size, since we don't realloc
Thanks Peter

SVN revision: 45964
2010-02-07 12:23:27 +00:00
Sebastian Dransfeld 5408dedfe7 Don't shrink when we append
SVN revision: 45963
2010-02-07 12:21:28 +00:00
Sebastian Dransfeld 5b5107471f Work with escaped string
SVN revision: 45962
2010-02-07 12:21:07 +00:00
Sebastian Dransfeld 2587c28d9a Add eina_strbuf_reset
Function to reset the internal string, so we can reuse the allocated
mem.

SVN revision: 45952
2010-02-06 21:43:22 +00:00
Sebastian Dransfeld 522a0ab1ab Add eina_strbuf_append_escaped for edje
SVN revision: 45950
2010-02-06 21:43:02 +00:00
Sebastian Dransfeld da1b1ee801 Add shrink buffer code
SVN revision: 45946
2010-02-06 20:42:14 +00:00
Sebastian Dransfeld f99d9ccf4b Simpler to use _eina_strbuf_resize
Add space for '\0' in _eina_strbuf_resize, so that we alwyas just pass
inn the wanted string space as requirement.

Correct len in eina_strbuf_append_n, we needed +1 for '\0' for resize
and strlcpy, but not for ->len

SVN revision: 45945
2010-02-06 20:42:03 +00:00
Sebastian Dransfeld 4a1ac380b1 Add functions to match evas strbuf
SVN revision: 45943
2010-02-06 20:41:43 +00:00
Sebastian Dransfeld c6ca24216c Add EINA_MAGIC to strbuf
SVN revision: 45651
2010-01-27 20:48:27 +00:00
Sebastian Dransfeld 436249c412 Move ecore_str and ecore_strbuf to eina
SVN revision: 45650
2010-01-27 20:47:47 +00:00