comparison CbC-examples/conv1.c @ 120:f93fa5091070

fix conv1.c
author mir3636
date Thu, 08 Mar 2018 14:53:42 +0900
parents 9d1ff3ae1824
children
comparison
equal deleted inserted replaced
119:9d1ff3ae1824 120:f93fa5091070
111 struct f_g0_interface *c = (struct f_g0_interface *)sp; 111 struct f_g0_interface *c = (struct f_g0_interface *)sp;
112 goto (c->ret)(i+4,sp); 112 goto (c->ret)(i+4,sp);
113 } 113 }
114 114
115 struct main_continuation { // General Return Continuation 115 struct main_continuation { // General Return Continuation
116 __code (*ret)(); 116 __code (*ret)(int, void*);
117 __code (*main_ret)(); 117 __code (*main_ret)(int, void*);
118 void *env; 118 void *env;
119 }; 119 };
120 120
121 __code main_return(int i,stack sp) { 121 __code main_return(int i,stack sp) {
122 if (loop-->0) 122 if (loop-->0)