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.288 by root, Tue May 6 18:47:32 2008 UTC vs.
Revision 1.289 by root, Thu May 8 20:03:50 2008 UTC

940{ 940{
941 CALL_BEGIN (2); 941 CALL_BEGIN (2);
942 CALL_ARG (book); 942 CALL_ARG (book);
943 CALL_ARG (level); 943 CALL_ARG (level);
944 CALL_CALL ("ext::books::make_book", G_VOID); 944 CALL_CALL ("ext::books::make_book", G_VOID);
945 CALL_END;
946}
947
948void
949cfperl_expand_cfpod (player *pl, std::string &msg)
950{
951 CALL_BEGIN (2);
952 CALL_ARG (pl);
953 CALL_ARG_SV (newSVpvn_utf8 (msg.data (), msg.size ()));
954 CALL_CALL ("cf::player::expand_cfpod", G_SCALAR);
955
956 if (count)
957 {
958 STRLEN len;
959 char *data = SvPVutf8 (TOPs, len);
960 msg.assign (data, len);
961 }
962
945 CALL_END; 963 CALL_END;
946} 964}
947 965
948void 966void
949cfperl_send_msg (client *ns, int color, const char *type, const char *msg) 967cfperl_send_msg (client *ns, int color, const char *type, const char *msg)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines