version 1.40, 1996/11/28 00:30:32
|
version 1.41, 1996/12/01 02:13:50
|
Line 158 PRIVATE BOOL HyperDoc_delete (HyperDoc *
|
Line 158 PRIVATE BOOL HyperDoc_delete (HyperDoc *
|
PRIVATE Robot * Robot_new (void) |
PRIVATE Robot * Robot_new (void) |
{ |
{ |
Robot * me; |
Robot * me; |
if ((me = (Robot *) HT_CALLOC(1, sizeof(Robot))) == NULL || |
if ((me = (Robot *) HT_CALLOC(1, sizeof(Robot))) == NULL) |
(me->tv = (struct timeval*) HT_CALLOC(1, sizeof(struct timeval))) == NULL) |
|
HT_OUTOFMEM("Robot_new"); |
HT_OUTOFMEM("Robot_new"); |
me->hyperdoc = HTList_new(); |
me->hyperdoc = HTList_new(); |
me->htext = HTList_new(); |
me->htext = HTList_new(); |
Line 199 PRIVATE BOOL Robot_delete (Robot * me)
|
Line 198 PRIVATE BOOL Robot_delete (Robot * me)
|
HTTrace("Robot terminated %s\n",HTDateTimeStr(&local,YES)); |
HTTrace("Robot terminated %s\n",HTDateTimeStr(&local,YES)); |
} |
} |
HT_FREE(me->cwd); |
HT_FREE(me->cwd); |
HT_FREE(me->tv); |
|
HT_FREE(me); |
HT_FREE(me); |
return YES; |
return YES; |
} |
} |