diff options
Diffstat (limited to 'libparc/examples/How To Create A Static PARC Object')
-rw-r--r-- | libparc/examples/How To Create A Static PARC Object/parc_MyObject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libparc/examples/How To Create A Static PARC Object/parc_MyObject.c b/libparc/examples/How To Create A Static PARC Object/parc_MyObject.c index 9523e494..f3e5b6c4 100644 --- a/libparc/examples/How To Create A Static PARC Object/parc_MyObject.c +++ b/libparc/examples/How To Create A Static PARC Object/parc_MyObject.c @@ -37,7 +37,7 @@ struct PARCMyObject { static bool _parcMyObject_Destructor(PARCMyObject **instancePtr) { - assertNotNull(instancePtr, "Parameter must be a non-null pointer to a PARCMyObject pointer."); + parcAssertNotNull(instancePtr, "Parameter must be a non-null pointer to a PARCMyObject pointer."); /* cleanup the instance fields here */ @@ -62,7 +62,7 @@ parcObject_Override( void parcMyObject_AssertValid(const PARCMyObject *instance) { - assertTrue(parcMyObject_IsValid(instance), + parcAssertTrue(parcMyObject_IsValid(instance), "PARCMyObject is not valid."); } |