PSI sics-cvs-psi-2006

This commit is contained in:
2006-05-08 02:00:00 +00:00
committed by Douglas Clowes
parent ae77364de2
commit 6e926b813f
388 changed files with 445529 additions and 14109 deletions

10
lld.c
View File

@@ -595,6 +595,11 @@ int LLDnodePtr2First( int List )
ListControl[ List ].current = ListControl[ List ].first->next ;
if(ListControl[List].first->next == NULL)
{
return 0;
}
return NULL != ListControl[ List ].first->next->next ;
}
@@ -647,6 +652,11 @@ long LLDnodeLong( int List )
return *((long *) &ListControl[ List ].current->data );
}
float LLDnodeFloat( int List )
{
return *((float *) &ListControl[ List ].current->data );
}
void * LLDnodePtr( int List )
{
return *((void **) &ListControl[ List ].current->data );