diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-11-22 08:45:40 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-11-22 08:45:40 +0800 |
commit | 17c69cb3be3501e423f8d480ed0fa1f1f44c64b8 (patch) | |
tree | 04bf57b5de3df74a609e18902515992486b84178 /e-util/e-memory.h | |
parent | f69d5ec14310f4903a8b88224f7c82cfa1de014a (diff) | |
download | gsoc2013-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.h | 1 |
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); |