C:/Users/Dennis/src/lang/Life_start/Life/life-1.02/source/list.h File Reference

Go to the source code of this file.

Data Structures

struct  wl_ListHeader
struct  wl_ListLinks

Defines

#define NULL   0
#define TRUE   1
#define FALSE   0
#define List_First(header)   ((header)->First)
#define List_Last(header)   ((header)->Last)
#define List_Next(header, RefAtom)   ((*(header)->GetLinks)(RefAtom)->Next)
#define List_Prev(header, RefAtom)   ((*(header)->GetLinks)(RefAtom)->Prev)
#define List_IsEmpty(header)   (List_First(header)==NULL)

Typedefs

typedef void * Ref
typedef struct wl_ListLinksRefListLinks
typedef struct wl_ListHeaderRefListHeader
typedef RefListLinks(* RefListGetLinksProc )()
typedef int(* RefListEnumProc )()
typedef struct wl_ListHeader ListHeader
typedef struct wl_ListLinks ListLinks

Functions

void List_SetLinkProc ()
void List_InsertAhead ()
void List_Append ()
void List_InsertBefore ()
void List_InsertAfter ()
void List_Swap ()
void List_Reverse ()
void List_Remove ()
void List_Concat ()
long List_EnumFrom ()
long List_Enum ()
long List_EnumBackFrom ()
long List_EnumBack ()
long List_Card ()
long List_IsUnlink ()
void List_Cut ()


Define Documentation

#define FALSE   0

Definition at line 22 of file list.h.

#define List_First ( header   )     ((header)->First)

Definition at line 88 of file list.h.

#define List_IsEmpty ( header   )     (List_First(header)==NULL)

Definition at line 92 of file list.h.

#define List_Last ( header   )     ((header)->Last)

Definition at line 89 of file list.h.

Referenced by List_Cut().

#define List_Next ( header,
RefAtom   )     ((*(header)->GetLinks)(RefAtom)->Next)

Definition at line 90 of file list.h.

Referenced by List_Cut(), and List_EnumFrom().

#define List_Prev ( header,
RefAtom   )     ((*(header)->GetLinks)(RefAtom)->Prev)

Definition at line 91 of file list.h.

Referenced by List_EnumBackFrom().

#define NULL   0

Definition at line 16 of file list.h.

Referenced by abort_life(), accept_internal(), add_rule(), all_public_symbols(), appendIntList(), assert_attributes(), assert_clause(), assert_complicated_type(), assert_type(), backtrack(), bfs(), bind_or_connect_internal(), bitvector_binop_code(), bitvector_bit_code(), bitvector_unop_code(), c_add(), c_args(), c_bind(), c_bit_not(), c_boolpred(), c_call(), c_char(), c_children(), c_close(), c_combined_name(), c_cond(), c_copy_pointer(), c_copy_term(), c_current_module(), c_cuserid(), c_dbmfirstkey(), c_diff_address(), c_disj(), c_div(), c_errno(), c_eval(), c_eval_disjunction(), c_eval_inplace(), c_exist_feature(), c_exists_choice(), c_exp(), c_feature_values(), c_features(), c_floor_ceiling(), c_fork(), c_freeze_inner(), c_get(), c_get_choice(), c_gethostname(), c_glb(), c_int2string(), c_intdiv(), c_is_function(), c_is_number(), c_is_predicate(), c_is_sort(), c_is_value(), c_listing(), c_localtime(), c_log(), c_logical_main(), c_lub(), c_module_name(), c_mresiduate(), c_mult(), c_nonvar(), c_ops(), c_page_width(), c_parents(), c_parse(), c_print_depth(), c_project(), c_psi2string(), c_quiet(), c_quote(), c_random(), c_read(), c_repeat(), c_replace(), c_rootsort(), c_same_address(), c_set_input(), c_setq(), c_smallest(), c_sqrt(), c_string2psi(), c_string_address(), c_strip(), c_sub(), c_such_that(), c_trig(), c_undo(), c_unify_func(), c_unify_pred(), c_var(), c_wait(), c_xor(), call_once_internal(), call_primitive(), check_disj(), check_pointer(), check_psi_term(), clause_aim(), clean_trail(), collect_symbols(), complain(), copy(), copy_attr_list(), copy_tree(), copyTypeCode(), create_module(), crunch(), cuserid_internal(), dbmfetch_internal(), dbmfirstkey_internal(), dbmnextkey_internal(), decode(), display_couple(), distinct_tree(), do_currying(), encode_types(), end_terminal_io(), equalize_codes(), errmsg_internal(), errno_internal(), eval_aim(), eval_global_var(), extract_module_from_name(), fail_all(), fetch_def(), fetch_def_lazy(), find(), find_adults(), find_data(), find_module(), fopen_internal(), garbage(), general_insert(), get_buffer_internal(), get_module(), get_one_arg(), get_one_arg_addr(), get_record_internal(), get_two_args(), gethostname_internal(), glb(), glb_code(), glb_value(), global_error_check(), global_unify_attr(), group_features(), has_rules(), hash_create(), hash_expand(), heap_psi_term(), init_global_vars(), init_io(), init_parse_state(), init_system(), insert_own_prop(), insert_prop(), int2stream_internal(), intListValue(), is_ipaddr(), isValue(), lazy_project_internal(), least_sorts(), List_Append(), List_Concat(), List_Cut(), List_EnumBackFrom(), List_EnumFrom(), List_InsertAfter(), List_InsertAhead(), List_InsertBefore(), List_IsUnlink(), list_nil(), List_Remove(), List_Reverse(), List_SetLinkProc(), load_aim(), lub(), main(), main_display_psi_term(), main_pred_write(), main_prove(), make_bitvector_internal(), make_life_form(), makeUnitList(), match_aim(), match_attr1(), match_attr2(), match_attr3(), merge2(), multiple(), my_wait_on_feature_internal(), new_definition(), new_psi_term(), num_choices(), one_attr(), only_arg1(), op_declare(), opcheck(), open_input_file(), open_output_file(), or_codes(), parse(), parse_list(), pretty_list(), pretty_tag_or_psi_term(), print_resid_message(), print_variables(), propagate_definitions(), prove_aim(), put_back_token(), read_name(), read_psi_term(), read_string(), real_stack_psi_term(), rec_replace(), reg(), regatom(), regbranch(), regcomp(), regexec(), regexp_compile_internal(), regexp_execute_internal(), regmatch(), regnext(), regoptail(), regpiece(), regrepeat(), regsub(), regtail(), regtry(), release_resid_main(), residuate(), residuateGoalOnVar(), restore_state(), set_parse_queryflag(), socket_internal(), stack_psi_term(), stdin_cleareof(), stream2sys_stream_internal(), strict_matches(), sys_stream2stream_internal(), translate(), try(), two_to_the(), type_disj_aim(), undo_actions(), unify_bool(), unify_bool_result(), unify_pterm_result(), unify_real_result(), update_feature(), update_symbol(), wait_on_feature_internal(), WFFeatures(), WFGetFeature(), WFGetString(), WFGetVar(), WFInput(), WFType(), what_next_aim(), and work_out_length().

#define TRUE   1

Definition at line 19 of file list.h.


Typedef Documentation

typedef struct wl_ListHeader ListHeader

typedef struct wl_ListLinks ListLinks

typedef void* Ref

Definition at line 25 of file list.h.

typedef int(* RefListEnumProc)()

Definition at line 29 of file list.h.

typedef RefListLinks(* RefListGetLinksProc)()

Definition at line 28 of file list.h.

typedef struct wl_ListHeader* RefListHeader

Definition at line 27 of file list.h.

typedef struct wl_ListLinks* RefListLinks

Definition at line 26 of file list.h.


Function Documentation

void List_Append (  ) 

long List_Card (  ) 

void List_Concat (  ) 

void List_Cut (  ) 

long List_Enum (  ) 

long List_EnumBack (  ) 

long List_EnumBackFrom (  ) 

long List_EnumFrom (  ) 

void List_InsertAfter (  ) 

void List_InsertAhead (  ) 

void List_InsertBefore (  ) 

long List_IsUnlink (  ) 

void List_Remove (  ) 

void List_Reverse (  ) 

void List_SetLinkProc (  ) 

void List_Swap (  ) 


Generated on Sat Jan 26 08:48:09 2008 for WildLife by  doxygen 1.5.4