Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 657970
Collapse All | Expand All

(-)a/include/ruby/intern.h (-2 / +2 lines)
Lines 249-257 PRINTF_ARGS(NORETURN(void rb_name_error_str(VALUE, const char*, ...)), 2, 3); Link Here
249
NORETURN(void rb_invalid_str(const char*, const char*));
249
NORETURN(void rb_invalid_str(const char*, const char*));
250
NORETURN(void rb_error_frozen(const char*));
250
NORETURN(void rb_error_frozen(const char*));
251
NORETURN(void rb_error_frozen_object(VALUE));
251
NORETURN(void rb_error_frozen_object(VALUE));
252
CONSTFUNC(void rb_error_untrusted(VALUE));
252
void rb_error_untrusted(VALUE);
253
void rb_check_frozen(VALUE);
253
void rb_check_frozen(VALUE);
254
CONSTFUNC(void rb_check_trusted(VALUE));
254
void rb_check_trusted(VALUE);
255
#define rb_check_frozen_internal(obj) do { \
255
#define rb_check_frozen_internal(obj) do { \
256
	VALUE frozen_obj = (obj); \
256
	VALUE frozen_obj = (obj); \
257
	if (OBJ_FROZEN(frozen_obj)) { \
257
	if (OBJ_FROZEN(frozen_obj)) { \
(-)a/include/ruby/ruby.h (-1 / +1 lines)
Lines 628-634 int ruby_safe_level_2_warning(void) __attribute__((const,warning("$SAFE=2 to 4 a Link Here
628
# define rb_set_safe_level(level) rb_set_safe_level(RUBY_SAFE_LEVEL_CHECK(level, error))
628
# define rb_set_safe_level(level) rb_set_safe_level(RUBY_SAFE_LEVEL_CHECK(level, error))
629
#endif
629
#endif
630
void rb_set_safe_level_force(int);
630
void rb_set_safe_level_force(int);
631
CONSTFUNC(void rb_secure_update(VALUE));
631
void rb_secure_update(VALUE);
632
NORETURN(void rb_insecure_operation(void));
632
NORETURN(void rb_insecure_operation(void));
633
633
634
VALUE rb_errinfo(void);
634
VALUE rb_errinfo(void);
(-)a/internal.h (-2 / +2 lines)
Lines 1110-1116 VALUE rb_invcmp(VALUE, VALUE); Link Here
1110
struct rb_block;
1110
struct rb_block;
1111
int rb_dvar_defined(ID, const struct rb_block *);
1111
int rb_dvar_defined(ID, const struct rb_block *);
1112
int rb_local_defined(ID, const struct rb_block *);
1112
int rb_local_defined(ID, const struct rb_block *);
1113
CONSTFUNC(const char * rb_insns_name(int i));
1113
const char * rb_insns_name(int i);
1114
VALUE rb_insns_name_array(void);
1114
VALUE rb_insns_name_array(void);
1115
1115
1116
/* complex.c */
1116
/* complex.c */
Lines 1136-1142 void Init_ext(void); Link Here
1136
1136
1137
/* encoding.c */
1137
/* encoding.c */
1138
ID rb_id_encoding(void);
1138
ID rb_id_encoding(void);
1139
CONSTFUNC(void rb_gc_mark_encodings(void));
1139
void rb_gc_mark_encodings(void);
1140
rb_encoding *rb_enc_get_from_index(int index);
1140
rb_encoding *rb_enc_get_from_index(int index);
1141
rb_encoding *rb_enc_check_str(VALUE str1, VALUE str2);
1141
rb_encoding *rb_enc_check_str(VALUE str1, VALUE str2);
1142
int rb_encdb_replicate(const char *alias, const char *orig);
1142
int rb_encdb_replicate(const char *alias, const char *orig);

Return to bug 657970