diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 06:22:41 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 06:22:41 +0000 |
| commit | c68f6a89a835674e8aef54121a29cbd534db980c (patch) | |
| tree | 5199f84f251ddb6064c9af898356313fb21dcd3c /include/ruby/intern.h | |
| parent | 75f398a6dfa78501c3c0ee9cef00f35901fd6541 (diff) | |
| download | ruby-c68f6a89a835674e8aef54121a29cbd534db980c.tar.gz ruby-c68f6a89a835674e8aef54121a29cbd534db980c.tar.xz ruby-c68f6a89a835674e8aef54121a29cbd534db980c.zip | |
* eval_intern.h, vm_core.h, include/ruby/intern.h, include/ruby/ruby.h,
vm.c: need to add const to prototypes, of course.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
| -rw-r--r-- | include/ruby/intern.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index b95f2d02d..20f3aa29a 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -277,7 +277,7 @@ VALUE rb_obj_method(VALUE, VALUE); VALUE rb_method_call(int, VALUE*, VALUE); int rb_mod_method_arity(VALUE, ID); int rb_obj_method_arity(VALUE, ID); -VALUE rb_protect(VALUE (*)(VALUE), VALUE, int*); +VALUE rb_protect(VALUE (* const)(VALUE), const VALUE, int* const); void rb_set_end_proc(void (*)(VALUE), VALUE); void rb_mark_end_proc(void); void rb_exec_end_proc(void); @@ -438,9 +438,9 @@ int rb_symname_p(const char*); int rb_sym_interned_p(VALUE); void rb_gc_mark_symbols(void); VALUE rb_backref_get(void); -void rb_backref_set(VALUE); +void rb_backref_set(const VALUE); VALUE rb_lastline_get(void); -void rb_lastline_set(VALUE); +void rb_lastline_set(const VALUE); VALUE rb_sym_all_symbols(void); /* process.c */ void rb_last_status_set(int status, rb_pid_t pid); @@ -662,7 +662,7 @@ VALUE rb_str_succ(VALUE); VALUE rb_time_succ(VALUE); void Init_stack(VALUE*); void rb_frame_pop(void); -int rb_frame_method_id_and_class(ID *idp, VALUE *klassp); +int rb_frame_method_id_and_class(ID * const idp, VALUE * const klassp); #if defined(__cplusplus) #if 0 |
