From 33b53c7f5cef4cf19770a38baa4b627f234322cf Mon Sep 17 00:00:00 2001 From: Giovanni Conte Date: Wed, 16 Jan 2019 12:09:43 +0100 Subject: removed longbow dependency Change-Id: I0c224b26261c7b24699410fc5e41ed6f3fab9815 Signed-off-by: Giovanni Conte --- libparc/parc/algol/parc_Iterator.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libparc/parc/algol/parc_Iterator.c') diff --git a/libparc/parc/algol/parc_Iterator.c b/libparc/parc/algol/parc_Iterator.c index e70a0ff9..5ef67bf4 100755 --- a/libparc/parc/algol/parc_Iterator.c +++ b/libparc/parc/algol/parc_Iterator.c @@ -77,12 +77,12 @@ parcIterator_Create(PARCObject *object, void (*fini)(PARCObject *, void *), void (*assertValid)(const void *)) { - assertNotNull(object, "PARCObject cannot be NULL."); - assertNotNull(init, "'init' function cannot be NULL."); - assertNotNull(hasNext, "'hasNext' function cannot be NULL."); - assertNotNull(next, "'next' function cannot be NULL."); - assertNotNull(element, "'element' function cannot be NULL."); - assertNotNull(fini, "'fini' function cannot be NULL."); + parcAssertNotNull(object, "PARCObject cannot be NULL."); + parcAssertNotNull(init, "'init' function cannot be NULL."); + parcAssertNotNull(hasNext, "'hasNext' function cannot be NULL."); + parcAssertNotNull(next, "'next' function cannot be NULL."); + parcAssertNotNull(element, "'element' function cannot be NULL."); + parcAssertNotNull(fini, "'fini' function cannot be NULL."); PARCIterator *result = parcObject_CreateInstance(PARCIterator); @@ -120,7 +120,7 @@ parcIterator_IsValid(const PARCIterator *iterator) void parcIterator_AssertValid(const PARCIterator *iterator) { - assertTrue(parcIterator_IsValid(iterator), "PARCIterator is not valid."); + parcAssertTrue(parcIterator_IsValid(iterator), "PARCIterator is not valid."); } parcObject_ImplementAcquire(parcIterator, PARCIterator); -- cgit 1.2.3-korg