diff options
author | Luca Muscariello <lumuscar+fdio@cisco.com> | 2019-01-24 16:32:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-01-24 16:32:25 +0000 |
commit | 9fc2b9ec49c54ec2d5f0164bbedc1c78732c464c (patch) | |
tree | c7ebcf4c83b5c2f71318bc69c6f6915aaac7ae2a /libparc/examples/How To Create A Static PARC Object | |
parent | cada1143501a48effc483e3873596c22849926b5 (diff) | |
parent | 097e69e6daeefc84fd271babbdc1b47dfe4c01e5 (diff) |
Merge "Add support for ubuntu18.04 packages."
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."); } |