Mercurial > pidgin
comparison libpurple/internal.h @ 18203:c23aef39f9bb
merge of '088881d37b32f572377200c693a5d9662e4e3586'
and 'c8ccb9550c625221a5a784368b13cfb5bf821c00'
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 19 Jun 2007 23:52:23 +0000 |
parents | 7df46d8bf114 |
children | 4cc042912ac2 |
comparison
equal
deleted
inserted
replaced
18184:f54f83b20929 | 18203:c23aef39f9bb |
---|---|
168 # else | 168 # else |
169 # define G_GSIZE_FORMAT "u" | 169 # define G_GSIZE_FORMAT "u" |
170 # endif | 170 # endif |
171 #endif | 171 #endif |
172 | 172 |
173 #ifndef G_GNUC_NULL_TERMINATED | |
174 # define G_GNUC_NULL_TERMINATED | |
175 #endif | |
176 | |
173 /* Safer ways to work with static buffers. When using non-static | 177 /* Safer ways to work with static buffers. When using non-static |
174 * buffers, either use g_strdup_* functions (preferred) or use | 178 * buffers, either use g_strdup_* functions (preferred) or use |
175 * g_strlcpy/g_strlcpy directly. */ | 179 * g_strlcpy/g_strlcpy directly. */ |
176 #define purple_strlcpy(dest, src) g_strlcpy(dest, src, sizeof(dest)) | 180 #define purple_strlcpy(dest, src) g_strlcpy(dest, src, sizeof(dest)) |
177 #define purple_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest)) | 181 #define purple_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest)) |