Mark scheme_raise_exn as noreturn - regenerate schemex
scheme_raise_exn raises an exception and doesn't return. Static analysis tools find a huge amount of problems with regards to memory leaks that are actually false positives because the tools are not aware the function does not return. Marking it as such aids further inspection of real problems.
This commit is contained in:
parent
0567527be4
commit
3e301d22b5
|
@ -198,7 +198,7 @@ MZ_EXTERN Scheme_On_Atomic_Timeout_Proc scheme_set_on_atomic_timeout(Scheme_On_A
|
|||
/*========================================================================*/
|
||||
|
||||
MZ_EXTERN void scheme_signal_error(const char *msg, ...);
|
||||
MZ_EXTERN void scheme_raise_exn(int exnid, ...);
|
||||
MZ_EXTERN void scheme_raise_exn(int exnid, ...) __attribute__ ((noreturn));
|
||||
MZ_EXTERN void scheme_warning(char *msg, ...);
|
||||
|
||||
MZ_EXTERN void scheme_raise(Scheme_Object *exn);
|
||||
|
|
|
@ -139,7 +139,7 @@ Scheme_On_Atomic_Timeout_Proc (*scheme_set_on_atomic_timeout)(Scheme_On_Atomic_T
|
|||
/* error handling */
|
||||
/*========================================================================*/
|
||||
void (*scheme_signal_error)(const char *msg, ...);
|
||||
void (*scheme_raise_exn)(int exnid, ...);
|
||||
void (*scheme_raise_exn)(int exnid, ...) __attribute__ ((noreturn));
|
||||
void (*scheme_warning)(char *msg, ...);
|
||||
void (*scheme_raise)(Scheme_Object *exn);
|
||||
int (*scheme_log_level_p)(Scheme_Logger *logger, int level);
|
||||
|
|
Loading…
Reference in New Issue
Block a user