File tree Expand file tree Collapse file tree 4 files changed +12
-22
lines changed
Expand file tree Collapse file tree 4 files changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -145,5 +145,6 @@ extern SCL_EXPRESS_EXPORT Generic LISTget_second PROTO( ( Linked_List ) );
145145extern SCL_EXPRESS_EXPORT Generic LISTget_nth PROTO ( ( Linked_List , int ) );
146146extern SCL_EXPRESS_EXPORT void LISTfree PROTO ( ( Linked_List ) );
147147extern SCL_EXPRESS_EXPORT int LISTget_length PROTO ( ( Linked_List ) );
148+ extern SCL_EXPRESS_EXPORT bool LISTempty ( Linked_List list );
148149
149150#endif /*LINKED_LIST_H*/
Original file line number Diff line number Diff line change @@ -229,3 +229,14 @@ LISTget_length( Linked_List list ) {
229229 }
230230 return count ;
231231}
232+
233+
234+ bool LISTempty ( Linked_List list ) {
235+ if ( !list ) {
236+ return true;
237+ }
238+ if ( list -> mark -> next == list -> mark ) {
239+ return true;
240+ }
241+ return false;
242+ }
Original file line number Diff line number Diff line change @@ -34,16 +34,6 @@ int isAggregateType( const Type t );
3434int isAggregate ( Variable a );
3535Variable VARis_type_shifter ( Variable a );
3636
37- static_inline bool LISTempty ( Linked_List list ) {
38- if ( !list ) {
39- return true;
40- }
41- if ( list -> mark -> next == list -> mark ) {
42- return true;
43- }
44- return false;
45- }
46-
4737int multiple_inheritance = 1 ;
4838int print_logging = 0 ;
4939int old_accessors = 0 ;
Original file line number Diff line number Diff line change @@ -24,18 +24,6 @@ extern char * scl_version();
2424extern int multiple_inheritance ;
2525/*extern int corba_binding; */
2626
27- static_inline
28- bool
29- LISTempty ( Linked_List list ) {
30- if ( !list ) {
31- return true;
32- }
33- if ( list -> mark -> next == list -> mark ) {
34- return true;
35- }
36- return false;
37- }
38-
3927/******************************************************************
4028** The following functions will be used ***
4129*** through out the the program fedex_plus ***/
You can’t perform that action at this time.
0 commit comments