You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by to...@apache.org on 2012/02/08 18:13:07 UTC
svn commit: r1241984 -
/perl/modperl/branches/threading/src/modules/perl/modperl_svptr_table.c
Author: torsten
Date: Wed Feb 8 17:13:07 2012
New Revision: 1241984
URL: http://svn.apache.org/viewvc?rev=1241984&view=rev
Log:
rename assert() => ap_assert()
Modified:
perl/modperl/branches/threading/src/modules/perl/modperl_svptr_table.c
Modified: perl/modperl/branches/threading/src/modules/perl/modperl_svptr_table.c
URL: http://svn.apache.org/viewvc/perl/modperl/branches/threading/src/modules/perl/modperl_svptr_table.c?rev=1241984&r1=1241983&r2=1241984&view=diff
==============================================================================
--- perl/modperl/branches/threading/src/modules/perl/modperl_svptr_table.c (original)
+++ perl/modperl/branches/threading/src/modules/perl/modperl_svptr_table.c Wed Feb 8 17:13:07 2012
@@ -184,7 +184,7 @@ modperl_svptr_table_fetch(pTHX_ PTR_TBL_
{
PTR_TBL_ENT_t *tblent;
UV hash = PTR2UV(sv);
- assert(tbl);
+ ap_assert(tbl);
tblent = tbl->tbl_ary[hash & tbl->tbl_max];
for (; tblent; tblent = tblent->next) {
if (tblent->oldval == sv)
@@ -205,7 +205,7 @@ modperl_svptr_table_store(pTHX_ PTR_TBL_
UV hash = PTR2UV(oldv);
bool i = 1;
- assert(tbl);
+ ap_assert(tbl);
otblent = &tbl->tbl_ary[hash & tbl->tbl_max];
for (tblent = *otblent; tblent; i=0, tblent = tblent->next) {
if (tblent->oldval == oldv) {