diff Paper/src/ex_code2 @ 0:dbbe5ef644fb

add
author mir3636
date Tue, 21 Nov 2017 19:56:10 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Paper/src/ex_code2	Tue Nov 21 19:56:10 2017 +0900
@@ -0,0 +1,7 @@
+__code pushSingleLinkedStack_stub(struct Context* context) {
+    SingleLinkedStack* stack = (SingleLinkedStack*)GearImpl(context, Stack, stack);
+    Data* data = Gearef(context, Stack)->data;
+    enum Code next = Gearef(context, Stack)->next;
+    goto pushSingleLinkedStack(context, stack, data, next);
+}
+