mirror of
https://github.com/sigmasternchen/crap-libs
synced 2025-03-15 07:38:56 +00:00
fix for subtry (also new name)
This commit is contained in:
parent
673e411c86
commit
b5958cb270
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ typedef int try_t;
|
|||
#define succeeded true
|
||||
|
||||
#define subtry() try_t _try_id = try_pop();
|
||||
#define trycall try_push(_try_id);
|
||||
#define s_(f) try_push(_try_id); f; if(_try_has_catch(_try_id)) return;
|
||||
|
||||
#define tpush() try_push(_try_id)
|
||||
#define cthrow(e) _try_id = try_pop(); throw(e);
|
||||
|
|
Loading…
Reference in a new issue