diff options
Diffstat (limited to 'linked_list.h')
-rw-r--r-- | linked_list.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linked_list.h b/linked_list.h index a76c3443..d1354e02 100644 --- a/linked_list.h +++ b/linked_list.h @@ -24,11 +24,11 @@ typedef struct { int length; } LLIST(TYPE); -int CONSTRUCTOR_DECL ( LLIST(TYPE) ); -int FREE_DECL( LLIST(TYPE) ); +INIT_F ( LLIST(TYPE) ); +FREE_F( LLIST(TYPE) ); -int CONSTRUCTOR_DECL ( LINK(TYPE) ); -int CONSTRUCTOR_DECL ( LINK(TYPE), TYPE* val ); +INIT_F ( LINK(TYPE) ); +INIT_F ( LINK(TYPE), TYPE* val ); int LLIST_CONS(TYPE) ( LLIST(TYPE)* lst, TYPE* val); |