Mercurial > pidgin
view plugins/perl/common/Stringref.xs @ 11235:5ea38c98ff30
[gaim-migrate @ 13380]
Patch 1256826 from Federico Schwindt to ensure msg->body is always nul
terminated (even though strictly it shouldn't need to be, it's safer
like this). Plus a fix by me for one case where we were assuming it was
already nul terminated.
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Thu, 11 Aug 2005 19:25:48 +0000 |
| parents | 134d0001983d |
| children | b284c703d398 |
line wrap: on
line source
#include "module.h" /* TODO Gaim::Stringref gaim_stringref_printf(format, gaim_stringref_printf) const char *format ... */ MODULE = Gaim::Stringref PACKAGE = Gaim::Stringref PREFIX = gaim_stringref_ PROTOTYPES: ENABLE int gaim_stringref_cmp(s1, s2) Gaim::Stringref s1 Gaim::Stringref s2 size_t gaim_stringref_len(stringref) Gaim::Stringref stringref Gaim::Stringref gaim_stringref_new(value) const char *value Gaim::Stringref gaim_stringref_new_noref(value) const char *value Gaim::Stringref gaim_stringref_ref(stringref) Gaim::Stringref stringref void gaim_stringref_unref(stringref) Gaim::Stringref stringref const char * gaim_stringref_value(stringref) Gaim::Stringref stringref
