change pic_throw API

This commit is contained in:
Yuichi Nishiwaki
2014-07-04 13:32:45 +09:00
parent 69c0e702c6
commit 1402a97354
3 changed files with 24 additions and 9 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ struct pic_jmpbuf {
void pic_push_try(pic_state *);
void pic_pop_try(pic_state *);
noreturn void pic_throw(pic_state *, struct pic_error *);
noreturn void pic_throw(pic_state *, short, const char *, pic_value);
noreturn void pic_throw_error(pic_state *, struct pic_error *);
struct pic_error {
PIC_OBJECT_HEADER