@@ -249,9 +249,9 @@ PRINTF_ARGS(NORETURN(void rb_loaderror_with_path(VALUE path, const char*, ...)),
249
249
PRINTF_ARGS (NORETURN (void rb_name_error (ID , const char * , ...)), 2 , 3 );
250
250
PRINTF_ARGS (NORETURN (void rb_name_error_str (VALUE , const char * , ...)), 2 , 3 );
251
251
NORETURN (void rb_invalid_str (const char * , const char * ));
252
- DEPRECATED (PRINTF_ARGS (void rb_compile_error (const char * , int , const char * , ...), 3 , 4 ));
253
- DEPRECATED (PRINTF_ARGS (void rb_compile_error_with_enc (const char * , int , void * , const char * , ...), 4 , 5 ));
254
- DEPRECATED (PRINTF_ARGS (void rb_compile_error_append (const char * , ...), 1 , 2 ));
252
+ NORETURN ( DEPRECATED (PRINTF_ARGS (void rb_compile_error (const char * , int , const char * , ...), 3 , 4 ) ));
253
+ NORETURN ( DEPRECATED (PRINTF_ARGS (void rb_compile_error_with_enc (const char * , int , void * , const char * , ...), 4 , 5 ) ));
254
+ NORETURN ( DEPRECATED (PRINTF_ARGS (void rb_compile_error_append (const char * , ...), 1 , 2 ) ));
255
255
NORETURN (void rb_error_frozen (const char * ));
256
256
NORETURN (void rb_error_frozen_object (VALUE ));
257
257
void rb_error_untrusted (VALUE );
@@ -367,12 +367,12 @@ typedef fd_set rb_fdset_t;
367
367
368
368
NORETURN (void rb_exc_raise (VALUE ));
369
369
NORETURN (void rb_exc_fatal (VALUE ));
370
- VALUE rb_f_exit (int , const VALUE * );
371
- VALUE rb_f_abort (int , const VALUE * );
370
+ NORETURN ( VALUE rb_f_exit (int , const VALUE * ) );
371
+ NORETURN ( VALUE rb_f_abort (int , const VALUE * ) );
372
372
void rb_remove_method (VALUE , const char * );
373
373
void rb_remove_method_id (VALUE , ID );
374
- DEPRECATED (static inline void rb_disable_super (void ));
375
- DEPRECATED (static inline void rb_enable_super (void ));
374
+ NORETURN ( DEPRECATED (static inline void rb_disable_super (void ) ));
375
+ NORETURN ( DEPRECATED (static inline void rb_enable_super (void ) ));
376
376
static inline void rb_disable_super (void )
377
377
{
378
378
/* obsolete - no use */
@@ -388,7 +388,7 @@ typedef VALUE (*rb_alloc_func_t)(VALUE);
388
388
void rb_define_alloc_func (VALUE , rb_alloc_func_t );
389
389
void rb_undef_alloc_func (VALUE );
390
390
rb_alloc_func_t rb_get_alloc_func (VALUE );
391
- DEPRECATED (void rb_clear_cache (void ));
391
+ NORETURN ( DEPRECATED (void rb_clear_cache (void ) ));
392
392
void rb_clear_constant_cache (void );
393
393
void rb_clear_method_cache_by_class (VALUE );
394
394
void rb_alias (VALUE , ID , ID );
@@ -398,12 +398,12 @@ int rb_method_basic_definition_p(VALUE, ID);
398
398
VALUE rb_eval_cmd (VALUE , VALUE , int );
399
399
int rb_obj_respond_to (VALUE , ID , int );
400
400
int rb_respond_to (VALUE , ID );
401
- VALUE rb_f_notimplement (int argc , const VALUE * argv , VALUE obj );
401
+ NORETURN ( VALUE rb_f_notimplement (int argc , const VALUE * argv , VALUE obj ) );
402
402
#if !defined(RUBY_EXPORT ) && defined(_WIN32 )
403
403
RUBY_EXTERN VALUE (* const rb_f_notimplement_ )(int , const VALUE * , VALUE );
404
404
#define rb_f_notimplement (*rb_f_notimplement_)
405
405
#endif
406
- void rb_interrupt (void );
406
+ NORETURN ( void rb_interrupt (void ) );
407
407
VALUE rb_apply (VALUE , ID , VALUE );
408
408
void rb_backtrace (void );
409
409
ID rb_frame_this_func (void );
@@ -638,7 +638,7 @@ void rb_lastline_set(VALUE);
638
638
void rb_last_status_set (int status , rb_pid_t pid );
639
639
VALUE rb_last_status_get (void );
640
640
int rb_proc_exec (const char * );
641
- VALUE rb_f_exec (int , const VALUE * );
641
+ NORETURN ( VALUE rb_f_exec (int , const VALUE * ) );
642
642
rb_pid_t rb_waitpid (rb_pid_t pid , int * status , int flags );
643
643
void rb_syswait (rb_pid_t pid );
644
644
rb_pid_t rb_spawn (int , const VALUE * );
@@ -776,8 +776,8 @@ VALUE rb_str_replace(VALUE, VALUE);
776
776
VALUE rb_str_inspect (VALUE );
777
777
VALUE rb_str_dump (VALUE );
778
778
VALUE rb_str_split (VALUE , const char * );
779
- DEPRECATED (void rb_str_associate (VALUE , VALUE ));
780
- DEPRECATED (VALUE rb_str_associated (VALUE ));
779
+ NORETURN ( DEPRECATED (void rb_str_associate (VALUE , VALUE ) ));
780
+ NORETURN ( DEPRECATED (VALUE rb_str_associated (VALUE ) ));
781
781
void rb_str_setter (VALUE , ID , VALUE * );
782
782
VALUE rb_str_intern (VALUE );
783
783
VALUE rb_sym_to_s (VALUE );
@@ -965,7 +965,7 @@ VALUE rb_const_get_at(VALUE, ID);
965
965
VALUE rb_const_get_from (VALUE , ID );
966
966
void rb_const_set (VALUE , ID , VALUE );
967
967
VALUE rb_const_remove (VALUE , ID );
968
- VALUE rb_mod_const_missing (VALUE ,VALUE );
968
+ NORETURN ( VALUE rb_mod_const_missing (VALUE ,VALUE ) );
969
969
VALUE rb_cvar_defined (VALUE , ID );
970
970
void rb_cvar_set (VALUE , ID , VALUE );
971
971
VALUE rb_cvar_get (VALUE , ID );
@@ -983,7 +983,7 @@ VALUE rb_make_backtrace(void);
983
983
VALUE rb_make_exception (int , const VALUE * );
984
984
985
985
/* deprecated */
986
- DEPRECATED (void rb_frame_pop (void ));
986
+ NORETURN ( DEPRECATED (void rb_frame_pop (void ) ));
987
987
988
988
989
989
RUBY_SYMBOL_EXPORT_END
0 commit comments