File: rbogl.patch

package info (click to toggle)
ruby-gnome2 0.12.0-2sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,820 kB
  • ctags: 7,421
  • sloc: ansic: 61,387; ruby: 17,307; makefile: 85; xml: 35; sql: 13
file content (19 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- glut.c
+++ glut.c
@@ -15,7 +15,7 @@
 static VALUE _funcname = Qnil; \
 static void glut_ ## _funcname ## Callback(); \
 static VALUE \
-glut_ ## _funcname ## (obj,arg1) \
+glut_ ## _funcname (obj,arg1) \
 VALUE obj,arg1; \
 { \
     int win; \
@@ -25,7 +25,7 @@
     if (win == 0) \
 	rb_raise(rb_eRuntimeError, "GLUT.%s needs current window", #_funcname); \
     rb_ary_store(_funcname, win, arg1); \
-    glut ## _funcname ## (glut_ ## _funcname ## Callback); \
+    glut ## _funcname (glut_ ## _funcname ## Callback); \
     return Qnil; \
 }