py/nlr.h: Mark nlr_jump_fail as NORETURN.
This commit is contained in:
2
py/nlr.h
2
py/nlr.h
@@ -82,7 +82,7 @@ NORETURN void nlr_jump(void *val);
|
||||
// This must be implemented by a port. It's called by nlr_jump
|
||||
// if no nlr buf has been pushed. It must not return, but rather
|
||||
// should bail out with a fatal error.
|
||||
void nlr_jump_fail(void *val);
|
||||
NORETURN void nlr_jump_fail(void *val);
|
||||
|
||||
// use nlr_raise instead of nlr_jump so that debugging is easier
|
||||
#ifndef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user