2008-12-10 05:27:37 PST
Hi,
I have looked into your string.c file. I feel the functions stringCompare and stringCompareData are redundant. It would have sufficient in stringCompare to write like,
return stringCompareData(s1->data, s2->data);
Please make use of size in stringCompare to avoid comparisions before hand.
if(s1->size > s2->size) //do something
like this
Please correct me if i am wrong.
Thanks a lot,
Invisible