Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/generic_types/evaluation/cfa-stack.c

    r309be81 r75ac87e  
    88
    99forall(otype T) void ?{}(stack(T)* s) {
    10         ?{}( s->head, 0 );
     10        ?{}( &s->head, 0 );
    1111}
    1212
     
    2525
    2626forall(otype T) void push(stack(T)* s, T value) {
    27         s->head = new( value, s->head );
     27        s->head = ((stack_node(T)*)malloc()){ value, s->head };
    2828}
    2929
Note: See TracChangeset for help on using the changeset viewer.