aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-memory.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-11-22 08:45:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-11-22 08:45:40 +0800
commit17c69cb3be3501e423f8d480ed0fa1f1f44c64b8 (patch)
tree04bf57b5de3df74a609e18902515992486b84178 /e-util/e-memory.h
parentf69d5ec14310f4903a8b88224f7c82cfa1de014a (diff)
downloadgsoc2013-evolution-17c69cb3be3501e423f8d480ed0fa1f1f44c64b8.tar.gz
gsoc2013-evolution-17c69cb3be3501e423f8d480ed0fa1f1f44c64b8.tar.zst
gsoc2013-evolution-17c69cb3be3501e423f8d480ed0fa1f1f44c64b8.zip
New function, set a reference to a string that is then owned/free'd by the
2000-11-22 Not Zed <NotZed@HelixCode.com> * e-memory.c (e_strv_set_ref_free): New function, set a reference to a string that is then owned/free'd by the strv. (e_strv_destroy): If there are any strings to destroy, free them here. svn path=/trunk/; revision=6645
Diffstat (limited to 'e-util/e-memory.h')
-rw-r--r--e-util/e-memory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/e-util/e-memory.h b/e-util/e-memory.h
index 378c485530..ce3a3b9dd1 100644
--- a/e-util/e-memory.h
+++ b/e-util/e-memory.h
@@ -56,6 +56,7 @@ typedef struct _e_strv EStrv;
EStrv *e_strv_new(int size);
EStrv *e_strv_set_ref(EStrv *strv, int index, char *str);
+EStrv *e_strv_set_ref_free(EStrv *strv, int index, char *str);
EStrv *e_strv_set(EStrv *strv, int index, const char *str);
EStrv *e_strv_pack(EStrv *strv);
char *e_strv_get(EStrv *strv, int index);
11-0/+1 * - Convert to OptionsNGBeech Rintoul2013-03-221-4/+9 * - Reassign to the heap at maintainer's requestThomas Abthorpe2012-10-031-6/+2 * - update png to 1.5.10Dirk Meyer2012-06-011-2/+2 * -remove MD5Olli Hauer2011-07-031-1/+0 * - update to 1.4.1Dirk Meyer2010-03-281-2/+2 * - add PORTDOCSDirk Meyer2006-12-121-0/+5 * SHA256ifyEdwin Groothuis2006-01-221-0/+1 * - Respect ${LOCALBASE} [1]Jean-Yves Lefort2005-10-172-16/+5 * Add size data, approved by maintainers.Trevor Johnson2004-03-191-0/+1 * - Respect ${CXX}Pav Lucistnik2004-03-011-3/+9 * Use PLIST_FILES (bento-tested, marcus-reviewed).Trevor Johnson2004-02-062-1/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.Joe Marcus Clarke2004-02-041-0/+1 * Respect CFLAGS.Joe Marcus Clarke2003-04-152-4/+11 * De-pkg-comment.Akinori MUSHA2003-02-212-1/+1 * upgrade to 20021208Ying-Chieh Liao2003-01-033-15/+8