Mercurial > pidgin
comparison libpurple/stringref.h @ 32819:2c6510167895 default tip
propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24)
to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
| author | Elliott Sales de Andrade <qulogic@pidgin.im> |
|---|---|
| date | Sat, 02 Jun 2012 02:30:49 +0000 |
| parents | 98520ee78f12 |
| children |
comparison
equal
deleted
inserted
replaced
| 32818:01ff09d4a463 | 32819:2c6510167895 |
|---|---|
| 27 * | 27 * |
| 28 */ | 28 */ |
| 29 #ifndef _PURPLE_STRINGREF_H_ | 29 #ifndef _PURPLE_STRINGREF_H_ |
| 30 #define _PURPLE_STRINGREF_H_ | 30 #define _PURPLE_STRINGREF_H_ |
| 31 | 31 |
| 32 #ifdef __cplusplus | 32 typedef struct _PurpleStringref PurpleStringref; |
| 33 extern "C" { | |
| 34 #endif | |
| 35 | 33 |
| 36 typedef struct _PurpleStringref PurpleStringref; | 34 G_BEGIN_DECLS |
| 37 | 35 |
| 38 /** | 36 /** |
| 39 * Creates an immutable reference-counted string object. The newly | 37 * Creates an immutable reference-counted string object. The newly |
| 40 * created object will have a reference count of 1. | 38 * created object will have a reference count of 1. |
| 41 * | 39 * |
| 129 * | 127 * |
| 130 * @return The length of the string in stringref | 128 * @return The length of the string in stringref |
| 131 */ | 129 */ |
| 132 size_t purple_stringref_len(const PurpleStringref *stringref); | 130 size_t purple_stringref_len(const PurpleStringref *stringref); |
| 133 | 131 |
| 134 #ifdef __cplusplus | 132 G_END_DECLS |
| 135 } | |
| 136 #endif | |
| 137 | 133 |
| 138 #endif /* _PURPLE_STRINGREF_H_ */ | 134 #endif /* _PURPLE_STRINGREF_H_ */ |
