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.330 by root, Wed Nov 4 18:17:58 2009 UTC vs.
Revision 1.331 by root, Thu Nov 5 14:38:47 2009 UTC

1220 bool matched = count && SvTRUE (TOPs); 1220 bool matched = count && SvTRUE (TOPs);
1221 1221
1222 CALL_END; 1222 CALL_END;
1223 1223
1224 return matched; 1224 return matched;
1225}
1226
1227object *
1228match_one (const char *expr, object *ob, object *self, object *source, object *originator)
1229{
1230 if (!strncmp (expr, "match ", sizeof ("match ") - 1))
1231 expr += sizeof ("match ") - 1;
1232
1233 CALL_BEGIN (5);
1234 CALL_ARG (expr);
1235 CALL_ARG (ob);
1236 CALL_ARG (self);
1237 CALL_ARG (source);
1238 CALL_ARG (originator);
1239 CALL_CALL (cv_cf_match_match, G_ARRAY);
1240
1241 object *one = 0;
1242
1243 if (count)
1244 sv_to (TOPs, one);
1245
1246 CALL_END;
1247
1248 return one;
1225} 1249}
1226 1250
1227///////////////////////////////////////////////////////////////////////////// 1251/////////////////////////////////////////////////////////////////////////////
1228 1252
1229struct EVAPI *evapi::GEVAPI; 1253struct EVAPI *evapi::GEVAPI;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines