Mercurial > hg > Papers > 2017 > mitsuki-sigos
annotate paper/src/ex_stub @ 19:f311c7a14a62 default tip
add src
author | mir3636 |
---|---|
date | Mon, 15 May 2017 18:50:34 +0900 |
parents | |
children |
rev | line source |
---|---|
19 | 1 __code clearSingleLinkedStack(struct Context *context,struct SingleLinkedStack* stack,enum Code next) { |
2 stack->top = NULL; | |
3 goto meta(context, next); | |
4 } | |
5 | |
6 __code clearSingleLinkedStack_stub(struct Context* context) { | |
7 SingleLinkedStack* stack = (SingleLinkedStack*)GearImpl(context, Stack, stack); | |
8 enum Code next = Gearef(context, Stack)->next; | |
9 goto clearSingleLinkedStack(context, stack, next); | |
10 } | |
11 |