comparison src/value.h @ 10477:5cb55bcad11b

[gaim-migrate @ 11764] The Ever-Vigilant Stu pointed out that it probably wasn't a good idea to allow plugins to modify the internals of a GString. This should take care of that. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 06 Jan 2005 01:27:34 +0000
parents af06746954de
children 72a5babfa8b4
comparison
equal deleted inserted replaced
10476:d02e70b5d197 10477:5cb55bcad11b
118 * Creates a new GaimValue. 118 * Creates a new GaimValue.
119 * 119 *
120 * This function takes a type and, depending on that type, a sub-type 120 * This function takes a type and, depending on that type, a sub-type
121 * or specific type. 121 * or specific type.
122 * 122 *
123 * If @a type is GAIM_TYPE_POINTER, the next parameter must be a 123 * If @a type is GAIM_TYPE_BOXED, the next parameter must be a
124 * string representing the specific type. 124 * string representing the specific type.
125 * 125 *
126 * If @a type is GAIM_TYPE_SUBTYPE, the next parameter must be a 126 * If @a type is GAIM_TYPE_SUBTYPE, the next parameter must be a
127 * integer or enum representing the sub-type. 127 * integer or enum representing the sub-type.
128 * 128 *
134 * @return The new value. 134 * @return The new value.
135 */ 135 */
136 GaimValue *gaim_value_new(GaimType type, ...); 136 GaimValue *gaim_value_new(GaimType type, ...);
137 137
138 /** 138 /**
139 * Creates a new outgoing GaimValue. 139 * Creates a new outgoing GaimValue. If a value is an "outgoing" value
140 * it means the value can be modified by plugins and scripts.
140 * 141 *
141 * This function takes a type and, depending on that type, a sub-type 142 * This function takes a type and, depending on that type, a sub-type
142 * or specific type. 143 * or specific type.
143 * 144 *
144 * If @a type is GAIM_TYPE_POINTER, the next parameter must be a 145 * If @a type is GAIM_TYPE_BOXED, the next parameter must be a
145 * string representing the specific type. 146 * string representing the specific type.
146 * 147 *
147 * If @a type is GAIM_TYPE_SUBTYPE, the next parameter must be a 148 * If @a type is GAIM_TYPE_SUBTYPE, the next parameter must be a
148 * integer or enum representing the sub-type. 149 * integer or enum representing the sub-type.
149 * 150 *