aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/examples
diff options
context:
space:
mode:
authorGiovanni Conte <gconte@cisco.com>2019-01-16 12:09:43 +0100
committerGiovanni Conte <gconte@cisco.com>2019-01-16 18:15:26 +0100
commit33b53c7f5cef4cf19770a38baa4b627f234322cf (patch)
tree619dc322af2616fea2c97d812b69131aa26f45a8 /libparc/examples
parentdb496684a300b2d65ae7739c918177111d5a3500 (diff)
removed longbow dependency
Change-Id: I0c224b26261c7b24699410fc5e41ed6f3fab9815 Signed-off-by: Giovanni Conte <gconte@cisco.com>
Diffstat (limited to 'libparc/examples')
-rw-r--r--libparc/examples/How To Create A Static PARC Object/parc_MyObject.c4
-rw-r--r--libparc/examples/How To Create an Object Pool/parc_SimpleBufferPool.c2
2 files changed, 3 insertions, 3 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.");
}
diff --git a/libparc/examples/How To Create an Object Pool/parc_SimpleBufferPool.c b/libparc/examples/How To Create an Object Pool/parc_SimpleBufferPool.c
index fbd71b6e..9aad015b 100644
--- a/libparc/examples/How To Create an Object Pool/parc_SimpleBufferPool.c
+++ b/libparc/examples/How To Create an Object Pool/parc_SimpleBufferPool.c
@@ -33,7 +33,7 @@ struct PARCSimpleBufferPool {
static bool
_parcSimpleBufferPool_Destructor(PARCSimpleBufferPool **instancePtr)
{
- assertNotNull(instancePtr, "Parameter must be a non-null pointer to a PARCSimpleBufferPool pointer.");
+ parcAssertNotNull(instancePtr, "Parameter must be a non-null pointer to a PARCSimpleBufferPool pointer.");
PARCSimpleBufferPool *pool = *instancePtr;