aboutsummaryrefslogtreecommitdiffstats
path: root/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalAnchor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalAnchor.c')
-rw-r--r--libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalAnchor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalAnchor.c b/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalAnchor.c
index 3155823..d3e2b18 100644
--- a/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalAnchor.c
+++ b/libccnx-portal/ccnx/api/ccnx_Portal/ccnx_PortalAnchor.c
@@ -22,7 +22,7 @@
#include <parc/algol/parc_DisplayIndented.h>
#include <parc/algol/parc_Memory.h>
#include <parc/algol/parc_Time.h>
-
+#include <parc/assert/parc_Assert.h>
#include <ccnx/api/ccnx_Portal/ccnx_PortalAnchor.h>
struct CCNxPortalAnchor {
@@ -33,7 +33,7 @@ struct CCNxPortalAnchor {
static bool
_ccnxPortalAnchor_Destructor(CCNxPortalAnchor **instancePtr)
{
- assertNotNull(instancePtr, "Parameter must be a non-null pointer to a CCNxPortalAnchor pointer.");
+ parcAssertNotNull(instancePtr, "Parameter must be a non-null pointer to a CCNxPortalAnchor pointer.");
CCNxPortalAnchor *instance = *instancePtr;
ccnxName_Release(&instance->prefix);
@@ -61,7 +61,7 @@ parcObject_Override(CCNxPortalAnchor, PARCObject,
void
ccnxPortalAnchor_AssertValid(const CCNxPortalAnchor *instance)
{
- assertTrue(ccnxPortalAnchor_IsValid(instance),
+ parcAssertTrue(ccnxPortalAnchor_IsValid(instance),
"CCNxPortalAnchor is not valid.");
}