ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.54 by root, Tue Sep 12 01:26:07 2006 UTC vs.
Revision 1.55 by root, Tue Sep 12 18:15:34 2006 UTC

220 220
221template<class T> 221template<class T>
222inline void sv_to (SV *sv, refptr<T> &v) { T *tmp; sv_to (sv, tmp); v = tmp; } 222inline void sv_to (SV *sv, refptr<T> &v) { T *tmp; sv_to (sv, tmp); v = tmp; }
223 223
224template<int N> 224template<int N>
225inline void sv_to (SV *sv, char (&v)[N]) { snprintf (v, N, "%s", SvPV_nolen (sv)); } 225inline void sv_to (SV *sv, char (&v)[N]) { assign (v, SvPV_nolen (sv)); }
226 226
227static SV * 227static SV *
228newSVdt_va (va_list &ap, data_type type) 228newSVdt_va (va_list &ap, data_type type)
229{ 229{
230 SV *sv; 230 SV *sv;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines