File: rb_define_method

package info (click to toggle)
subtle 0.11.3224-xi-2.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,592 kB
  • sloc: ansic: 14,699; ruby: 3,101; makefile: 16
file content (21 lines) | stat: -rw-r--r-- 459 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- subtle-0.11.3224-xi.orig/src/subtle/ruby.c
+++ subtle-0.11.3224-xi/src/subtle/ruby.c
@@ -1680,7 +1680,7 @@ RubyObjectDispatcher(VALUE self,
  */
 
 static VALUE
-RubyOptionsInit(VALUE self)
+RubyOptionsInit(VALUE self, VALUE ignored)
 {
   rb_iv_set(self, "@params", rb_hash_new());
 
@@ -3250,8 +3250,7 @@ RubySubletShow(VALUE self)
  */
 
 static VALUE
-RubySubletHide(VALUE self,
-  VALUE value)
+RubySubletHide(VALUE self)
 {
   SubPanel *p = NULL;