comparison libpurple/prefs.h @ 20978:d947d75635fb

Add notes about how the value argument to the purple_prefs_add_{string,path}_list functions needs to be handled by the caller.
author Etan Reisner <pidgin@unreliablesource.net>
date Wed, 17 Oct 2007 03:46:27 +0000
parents 4511d15a8f80
children 7c80ba584fb0
comparison
equal deleted inserted replaced
20977:72edbc003dd5 20978:d947d75635fb
113 /** 113 /**
114 * Add a new string list pref. 114 * Add a new string list pref.
115 * 115 *
116 * @param name The name of the pref 116 * @param name The name of the pref
117 * @param value The initial value to set 117 * @param value The initial value to set
118 * @note This function takes a copy of the strings in the value list. The list
119 * itself and original copies of the strings are up to the caller to
120 * free.
118 */ 121 */
119 void purple_prefs_add_string_list(const char *name, GList *value); 122 void purple_prefs_add_string_list(const char *name, GList *value);
120 123
121 /** 124 /**
122 * Add a new path pref. 125 * Add a new path pref.
129 /** 132 /**
130 * Add a new path list pref. 133 * Add a new path list pref.
131 * 134 *
132 * @param name The name of the pref 135 * @param name The name of the pref
133 * @param value The initial value to set 136 * @param value The initial value to set
137 * @note This function takes a copy of the strings in the value list. The list
138 * itself and original copies of the strings are up to the caller to
139 * free.
134 */ 140 */
135 void purple_prefs_add_path_list(const char *name, GList *value); 141 void purple_prefs_add_path_list(const char *name, GList *value);
136 142
137 143
138 /** 144 /**