diff options
| author | Mistivia <i@mistivia.com> | 2025-06-28 19:54:37 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-28 19:54:37 +0800 |
| commit | 9a4f460d6dd476767ea211c879f115e127ee2410 (patch) | |
| tree | 8a7ad58e670065af74c261f51f5f21e9bfec3615 /src/primitives.h | |
| parent | 0633c6c2797bc9182b2c1888385eac6cb6caed10 (diff) | |
exception & try-catch
Diffstat (limited to 'src/primitives.h')
| -rw-r--r-- | src/primitives.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/primitives.h b/src/primitives.h index a5aa2bc..cd686fe 100644 --- a/src/primitives.h +++ b/src/primitives.h @@ -4,6 +4,7 @@ #include "interp.h" SExpRef primitive_assert_error(Interp *interp, SExpRef sexp, bool istail); +SExpRef primitive_assert_exception(Interp *interp, SExpRef sexp, bool istail); SExpRef primitive_load(Interp *interp, SExpRef sexp, bool istail); SExpRef primitive_return(Interp *interp, SExpRef sexp, bool istail); SExpRef primitive_break(Interp *interp, SExpRef sexp, bool istail); @@ -29,5 +30,6 @@ SExpRef primitive_quasi(Interp *interp, SExpRef sexp, bool istail); SExpRef primitive_and(Interp *interp, SExpRef sexp, bool istail); SExpRef primitive_or(Interp *interp, SExpRef sexp, bool istail); SExpRef primitive_unwind_protect(Interp *interp, SExpRef sexp, bool istail); +SExpRef primitive_try(Interp *interp, SExpRef sexp, bool istail); #endif |
