aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc/algol/parc_URIPath.c
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/parc/algol/parc_URIPath.c
parentdb496684a300b2d65ae7739c918177111d5a3500 (diff)
removed longbow dependency
Change-Id: I0c224b26261c7b24699410fc5e41ed6f3fab9815 Signed-off-by: Giovanni Conte <gconte@cisco.com>
Diffstat (limited to 'libparc/parc/algol/parc_URIPath.c')
-rwxr-xr-xlibparc/parc/algol/parc_URIPath.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libparc/parc/algol/parc_URIPath.c b/libparc/parc/algol/parc_URIPath.c
index ef46dac9..04636852 100755
--- a/libparc/parc/algol/parc_URIPath.c
+++ b/libparc/parc/algol/parc_URIPath.c
@@ -17,7 +17,7 @@
*/
#include <config.h>
-#include <LongBow/runtime.h>
+#include <parc/assert/parc_Assert.h>
#include <unistd.h>
#include <stdio.h>
@@ -40,7 +40,7 @@ struct parc_uri_path {
static void
_parcURIPath_Finalize(PARCURIPath **pathPtr)
{
- assertNotNull(pathPtr, "Parameter must be a non-null pointer to a pointer to a PARCURIPath instance.");
+ parcAssertNotNull(pathPtr, "Parameter must be a non-null pointer to a pointer to a PARCURIPath instance.");
PARCURIPath *path = *pathPtr;
if (path != NULL) {
@@ -89,7 +89,7 @@ parcURIPath_Trim(PARCURIPath *path, size_t numberToRemove)
//
// result->segments = parcArrayList_Create((void (*)(void **))parcURISegment_Release);
// if (*string != 0) {
-// assertTrue(*string == '/', "Expected initial '/' character.");
+// parcAssertTrue(*string == '/', "Expected initial '/' character.");
// *pointer = string;
// while (**pointer != 0 && **pointer != '?' && **pointer != '#') {
// PARCURISegment *segment = parcURISegment_Parse(++(*pointer), pointer);
@@ -148,7 +148,7 @@ parcURIPath_Equals(const PARCURIPath *pathA, const PARCURIPath *pathB)
PARCURIPath *
parcURIPath_Copy(const PARCURIPath *path)
{
- assertNotNull(path, "Parameter must be a non-null PARC_URIPath pointer.");
+ parcAssertNotNull(path, "Parameter must be a non-null PARC_URIPath pointer.");
PARCURIPath *result = parcURIPath_Create();
result->segments = parcArrayList_Create((void (*)(void **))parcURISegment_Release);