change the interface of call/cc

This commit is contained in:
Yuichi Nishiwaki
2014-08-25 17:10:25 +09:00
parent 4cf8f3d7f6
commit e0831c1aa3
2 changed files with 12 additions and 25 deletions
+3
View File
@@ -43,6 +43,9 @@ struct pic_cont {
pic_value results;
};
#define pic_cont_p(o) (pic_type(o) == PIC_TT_CONT)
#define pic_cont_ptr(o) ((struct pic_cont *)pic_ptr(o))
pic_value pic_values0(pic_state *);
pic_value pic_values1(pic_state *, pic_value);
pic_value pic_values2(pic_state *, pic_value, pic_value);