gdk_pixbuf2 0.90.7-x86-mingw32 → 0.90.8-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ 2011-02-05 Masaaki Aoyagi
2
+
3
+ * ext/gdk_pixbuf2/*.c: change to ANSI C style.
4
+
1
5
  2011-01-30 Kouhei Sutou <kou@cozmixng.org>
2
6
 
3
7
  * Rakefile, ext/gdk_pixbuf2/extconf.rb: share depended packages
@@ -51,22 +51,19 @@ GSList* gdk_pixbuf_get_formats (void);
51
51
  */
52
52
 
53
53
  static VALUE
54
- get_name(self)
55
- VALUE self;
54
+ get_name(VALUE self)
56
55
  {
57
56
  return CSTR2RVAL_FREE(gdk_pixbuf_format_get_name(_SELF(self)));
58
57
  }
59
58
 
60
59
  static VALUE
61
- get_description(self)
62
- VALUE self;
60
+ get_description(VALUE self)
63
61
  {
64
62
  return CSTR2RVAL_FREE(gdk_pixbuf_format_get_description(_SELF(self)));
65
63
  }
66
64
 
67
65
  static VALUE
68
- get_mime_types(self)
69
- VALUE self;
66
+ get_mime_types(VALUE self)
70
67
  {
71
68
  gint i = 0;
72
69
  gchar** mime_types = gdk_pixbuf_format_get_mime_types(_SELF(self));
@@ -80,8 +77,7 @@ get_mime_types(self)
80
77
  }
81
78
 
82
79
  static VALUE
83
- get_extensions(self)
84
- VALUE self;
80
+ get_extensions(VALUE self)
85
81
  {
86
82
  gint i = 0;
87
83
  gchar** extensions = gdk_pixbuf_format_get_extensions(_SELF(self));
@@ -96,23 +92,20 @@ get_extensions(self)
96
92
  }
97
93
 
98
94
  static VALUE
99
- is_writable(self)
100
- VALUE self;
95
+ is_writable(VALUE self)
101
96
  {
102
97
  return CBOOL2RVAL(gdk_pixbuf_format_is_writable(_SELF(self)));
103
98
  }
104
99
 
105
100
  /* Structure */
106
101
  static VALUE
107
- get_domain(self)
108
- VALUE self;
102
+ get_domain(VALUE self)
109
103
  {
110
104
  return CSTR2RVAL(_SELF(self)->domain);
111
105
  }
112
106
 
113
107
  static VALUE
114
- get_signature(self)
115
- VALUE self;
108
+ get_signature(VALUE self)
116
109
  {
117
110
  GdkPixbufModulePattern* signature = _SELF(self)->signature;
118
111
 
@@ -130,27 +123,23 @@ get_signature(self)
130
123
 
131
124
  #if RBGDK_PIXBUF_CHECK_VERSION(2,6,0)
132
125
  static VALUE
133
- is_scalable(self)
134
- VALUE self;
126
+ is_scalable(VALUE self)
135
127
  {
136
128
  return CBOOL2RVAL(gdk_pixbuf_format_is_scalable(_SELF(self)));
137
129
  }
138
130
  static VALUE
139
- is_disabled(self)
140
- VALUE self;
131
+ is_disabled(VALUE self)
141
132
  {
142
133
  return CBOOL2RVAL(gdk_pixbuf_format_is_disabled(_SELF(self)));
143
134
  }
144
135
  static VALUE
145
- set_disabled(self, disabled)
146
- VALUE self, disabled;
136
+ set_disabled(VALUE self, VALUE disabled)
147
137
  {
148
138
  gdk_pixbuf_format_set_disabled(_SELF(self), RVAL2CBOOL(disabled));
149
139
  return self;
150
140
  }
151
141
  static VALUE
152
- get_license(self)
153
- VALUE self;
142
+ get_license(VALUE self)
154
143
  {
155
144
  return CSTR2RVAL(gdk_pixbuf_format_get_license(_SELF(self)));
156
145
  }
@@ -18,10 +18,7 @@
18
18
  /* File opening */
19
19
  /* Image Data in Memory */
20
20
  static VALUE
21
- initialize_loader(argc, argv, self)
22
- int argc;
23
- VALUE *argv;
24
- VALUE self;
21
+ initialize_loader(int argc, VALUE *argv, VALUE self)
25
22
  {
26
23
  GdkPixbufLoader* loader;
27
24
  GError* error = NULL;
@@ -52,8 +49,7 @@ initialize_loader(argc, argv, self)
52
49
 
53
50
  #if RBGDK_PIXBUF_CHECK_VERSION(2,2,0)
54
51
  static VALUE
55
- loader_get_format(self)
56
- VALUE self;
52
+ loader_get_format(VALUE self)
57
53
  {
58
54
  GdkPixbufFormat* format = gdk_pixbuf_loader_get_format(_SELF(self));
59
55
  return BOXED2RVAL(format, GDK_TYPE_PIXBUF_FORMAT);
@@ -61,9 +57,7 @@ loader_get_format(self)
61
57
  #endif
62
58
 
63
59
  static VALUE
64
- loader_write(self, data)
65
- VALUE self;
66
- VALUE data;
60
+ loader_write(VALUE self, VALUE data)
67
61
  {
68
62
  GError *error = NULL;
69
63
  gboolean res;
@@ -76,9 +70,7 @@ loader_write(self, data)
76
70
  }
77
71
 
78
72
  static VALUE
79
- last_write(self, data)
80
- VALUE self;
81
- VALUE data;
73
+ last_write(VALUE self, VALUE data)
82
74
  {
83
75
  GError *error = NULL;
84
76
  gboolean res;
@@ -97,8 +89,7 @@ last_write(self, data)
97
89
 
98
90
  #if RBGDK_PIXBUF_CHECK_VERSION(2,2,0)
99
91
  static VALUE
100
- loader_set_size(self, width, height)
101
- VALUE self, width, height;
92
+ loader_set_size(VALUE self, VALUE width, VALUE height)
102
93
  {
103
94
  gdk_pixbuf_loader_set_size(_SELF(self), NUM2INT(width), NUM2INT(height));
104
95
  return self;
@@ -106,8 +97,7 @@ loader_set_size(self, width, height)
106
97
  #endif
107
98
 
108
99
  static VALUE
109
- loader_close(self)
110
- VALUE self;
100
+ loader_close(VALUE self)
111
101
  {
112
102
  GError *error = NULL;
113
103
  gboolean res;
@@ -122,16 +112,14 @@ loader_close(self)
122
112
  /****************************************************/
123
113
  /* Creating image */
124
114
  static VALUE
125
- get_pixbuf(self)
126
- VALUE self;
115
+ get_pixbuf(VALUE self)
127
116
  {
128
117
  return GOBJ2RVAL(gdk_pixbuf_loader_get_pixbuf(_SELF(self)));
129
118
  }
130
119
 
131
120
  /* Creating animation */
132
121
  static VALUE
133
- get_animation(self)
134
- VALUE self;
122
+ get_animation(VALUE self)
135
123
  {
136
124
  return GOBJ2RVAL(gdk_pixbuf_loader_get_animation(_SELF(self)));
137
125
  }
@@ -30,29 +30,25 @@ static ID id_pixdata;
30
30
  /****************************************************/
31
31
  /* The GdkPixbuf Structure */
32
32
  static VALUE
33
- get_colorspace(self)
34
- VALUE self;
33
+ get_colorspace(VALUE self)
35
34
  {
36
35
  return GENUM2RVAL(gdk_pixbuf_get_colorspace(_SELF(self)), GDK_TYPE_COLORSPACE);
37
36
  }
38
37
 
39
38
  static VALUE
40
- get_n_channels(self)
41
- VALUE self;
39
+ get_n_channels(VALUE self)
42
40
  {
43
41
  return INT2FIX(gdk_pixbuf_get_n_channels(_SELF(self)));
44
42
  }
45
43
 
46
44
  static VALUE
47
- get_has_alpha(self)
48
- VALUE self;
45
+ get_has_alpha(VALUE self)
49
46
  {
50
47
  return CBOOL2RVAL(gdk_pixbuf_get_has_alpha(_SELF(self)));
51
48
  }
52
49
 
53
50
  static VALUE
54
- get_bits_per_sample(self)
55
- VALUE self;
51
+ get_bits_per_sample(VALUE self)
56
52
  {
57
53
  return INT2FIX(gdk_pixbuf_get_bits_per_sample(_SELF(self)));
58
54
  }
@@ -107,29 +103,25 @@ set_pixels(VALUE self, VALUE pixels)
107
103
  }
108
104
 
109
105
  static VALUE
110
- get_width(self)
111
- VALUE self;
106
+ get_width(VALUE self)
112
107
  {
113
108
  return INT2FIX(gdk_pixbuf_get_width(_SELF(self)));
114
109
  }
115
110
 
116
111
  static VALUE
117
- get_height(self)
118
- VALUE self;
112
+ get_height(VALUE self)
119
113
  {
120
114
  return INT2FIX(gdk_pixbuf_get_height(_SELF(self)));
121
115
  }
122
116
 
123
117
  static VALUE
124
- get_rowstride(self)
125
- VALUE self;
118
+ get_rowstride(VALUE self)
126
119
  {
127
120
  return INT2FIX(gdk_pixbuf_get_rowstride(_SELF(self)));
128
121
  }
129
122
 
130
123
  static VALUE
131
- get_option(self, key)
132
- VALUE self, key;
124
+ get_option(VALUE self, VALUE key)
133
125
  {
134
126
  const gchar* ret = gdk_pixbuf_get_option(_SELF(self), RVAL2CSTR(key));
135
127
  return ret ? CSTR2RVAL(ret) : Qnil;
@@ -139,10 +131,7 @@ get_option(self, key)
139
131
  /* File opening */
140
132
  /* Image Data in Memory */
141
133
  static VALUE
142
- initialize(argc, argv, self)
143
- int argc;
144
- VALUE *argv;
145
- VALUE self;
134
+ initialize(int argc, VALUE *argv, VALUE self)
146
135
  {
147
136
  GdkPixbuf* buf;
148
137
  GError* error = NULL;
@@ -288,8 +277,7 @@ initialize(argc, argv, self)
288
277
  }
289
278
 
290
279
  static VALUE
291
- copy(self)
292
- VALUE self;
280
+ copy(VALUE self)
293
281
  {
294
282
  VALUE ret;
295
283
  GdkPixbuf* dest = gdk_pixbuf_copy(_SELF(self));
@@ -302,8 +290,7 @@ copy(self)
302
290
 
303
291
  #if RBGDK_PIXBUF_CHECK_VERSION(2,4,0)
304
292
  static VALUE
305
- get_file_info(self, filename)
306
- VALUE self, filename;
293
+ get_file_info(VALUE self, VALUE filename)
307
294
  {
308
295
  gint width, height;
309
296
 
@@ -406,10 +393,7 @@ save_to_buffer(int argc, VALUE *argv, VALUE self)
406
393
  /****************************************************/
407
394
  /* Scaling */
408
395
  static VALUE
409
- scale_simple(argc, argv, self)
410
- int argc;
411
- VALUE *argv;
412
- VALUE self;
396
+ scale_simple(int argc, VALUE *argv, VALUE self)
413
397
  {
414
398
  GdkPixbuf* dest;
415
399
  VALUE dest_width, dest_height, interp_type, ret;
@@ -434,10 +418,7 @@ scale_simple(argc, argv, self)
434
418
  }
435
419
 
436
420
  static VALUE
437
- scale(argc, argv, self)
438
- int argc;
439
- VALUE *argv;
440
- VALUE self;
421
+ scale(int argc, VALUE *argv, VALUE self)
441
422
  {
442
423
  GdkInterpType type = GDK_INTERP_BILINEAR;
443
424
 
@@ -460,10 +441,7 @@ scale(argc, argv, self)
460
441
  }
461
442
 
462
443
  static VALUE
463
- composite_simple(self, dest_width, dest_height, interp_type, overall_alpha,
464
- check_size, color1, color2)
465
- VALUE self, dest_width, dest_height, interp_type, overall_alpha,
466
- check_size, color1, color2;
444
+ composite_simple(VALUE self, VALUE dest_width, VALUE dest_height, VALUE interp_type, VALUE overall_alpha, VALUE check_size, VALUE color1, VALUE color2)
467
445
  {
468
446
  GdkPixbuf* dest;
469
447
  VALUE ret;
@@ -486,10 +464,7 @@ composite_simple(self, dest_width, dest_height, interp_type, overall_alpha,
486
464
  }
487
465
 
488
466
  static VALUE
489
- composite(argc, argv, self)
490
- int argc;
491
- VALUE *argv;
492
- VALUE self;
467
+ composite(int argc, VALUE *argv, VALUE self)
493
468
  {
494
469
  VALUE ret;
495
470
  VALUE args[16];
@@ -538,8 +513,7 @@ composite(argc, argv, self)
538
513
 
539
514
  #if RBGDK_PIXBUF_CHECK_VERSION(2,6,0)
540
515
  static VALUE
541
- rotate_simple(self, angle)
542
- VALUE self, angle;
516
+ rotate_simple(VALUE self, VALUE angle)
543
517
  {
544
518
  VALUE ret;
545
519
  GdkPixbuf* dest = gdk_pixbuf_rotate_simple(_SELF(self), RVAL2GENUM(angle, GDK_TYPE_PIXBUF_ROTATION));
@@ -551,8 +525,7 @@ rotate_simple(self, angle)
551
525
  }
552
526
 
553
527
  static VALUE
554
- flip(self, horizontal)
555
- VALUE self, horizontal;
528
+ flip(VALUE self, VALUE horizontal)
556
529
  {
557
530
  VALUE ret;
558
531
  GdkPixbuf* dest = gdk_pixbuf_flip(_SELF(self), RVAL2CBOOL(horizontal));
@@ -565,8 +538,7 @@ flip(self, horizontal)
565
538
  #endif
566
539
 
567
540
  static VALUE
568
- add_alpha(self, substitute_color, r, g, b)
569
- VALUE self, substitute_color, r, g, b;
541
+ add_alpha(VALUE self, VALUE substitute_color, VALUE r, VALUE g, VALUE b)
570
542
  {
571
543
  VALUE ret;
572
544
  GdkPixbuf* dest = gdk_pixbuf_add_alpha(_SELF(self),
@@ -580,8 +552,7 @@ add_alpha(self, substitute_color, r, g, b)
580
552
  }
581
553
 
582
554
  static VALUE
583
- copy_area(self, src_x, src_y, width, height, dest, dest_x, dest_y)
584
- VALUE self, src_x, src_y, width, height, dest, dest_x, dest_y;
555
+ copy_area(VALUE self, VALUE src_x, VALUE src_y, VALUE width, VALUE height, VALUE dest, VALUE dest_x, VALUE dest_y)
585
556
  {
586
557
  gdk_pixbuf_copy_area(_SELF(self), NUM2INT(src_x), NUM2INT(src_y),
587
558
  NUM2INT(width), NUM2INT(height),
@@ -590,8 +561,7 @@ copy_area(self, src_x, src_y, width, height, dest, dest_x, dest_y)
590
561
  }
591
562
 
592
563
  static VALUE
593
- saturate_and_pixelate(self, staturation, pixelate)
594
- VALUE self, staturation, pixelate;
564
+ saturate_and_pixelate(VALUE self, VALUE staturation, VALUE pixelate)
595
565
  {
596
566
  GdkPixbuf* dest = gdk_pixbuf_copy(_SELF(self));
597
567
  gdk_pixbuf_saturate_and_pixelate(_SELF(self), dest,
@@ -600,8 +570,7 @@ saturate_and_pixelate(self, staturation, pixelate)
600
570
  }
601
571
 
602
572
  static VALUE
603
- fill(self, pixel)
604
- VALUE self, pixel;
573
+ fill(VALUE self, VALUE pixel)
605
574
  {
606
575
  gdk_pixbuf_fill(_SELF(self), NUM2UINT(pixel));
607
576
  return self;
@@ -610,15 +579,13 @@ fill(self, pixel)
610
579
  /* From Module Interface */
611
580
  #if RBGDK_PIXBUF_CHECK_VERSION(2,2,0)
612
581
  static VALUE
613
- get_formats(self)
614
- VALUE self;
582
+ get_formats(VALUE self)
615
583
  {
616
584
  return GSLIST2ARY2(gdk_pixbuf_get_formats(), GDK_TYPE_PIXBUF_FORMAT);
617
585
  }
618
586
 
619
587
  static VALUE
620
- set_option(self, key, value)
621
- VALUE self, key, value;
588
+ set_option(VALUE self, VALUE key, VALUE value)
622
589
  {
623
590
  #if HAVE_GDK_PIXBUF_SET_OPTION
624
591
  return CBOOL2RVAL(gdk_pixbuf_set_option(_SELF(self),
@@ -14,8 +14,7 @@
14
14
  #define RVAL2ITR(i) (GDK_PIXBUF_ANIMATION_ITER(RVAL2GOBJ(i)))
15
15
 
16
16
  static VALUE
17
- animation_initialize(self, filename)
18
- VALUE self, filename;
17
+ animation_initialize(VALUE self, VALUE filename)
19
18
  {
20
19
  GdkPixbufAnimation* ret;
21
20
  GError* error = NULL;
@@ -29,24 +28,19 @@ animation_initialize(self, filename)
29
28
  }
30
29
 
31
30
  static VALUE
32
- animation_get_width(self)
33
- VALUE self;
31
+ animation_get_width(VALUE self)
34
32
  {
35
33
  return INT2NUM(gdk_pixbuf_animation_get_width(_SELF(self)));
36
34
  }
37
35
 
38
36
  static VALUE
39
- animation_get_height(self)
40
- VALUE self;
37
+ animation_get_height(VALUE self)
41
38
  {
42
39
  return INT2NUM(gdk_pixbuf_animation_get_height(_SELF(self)));
43
40
  }
44
41
 
45
42
  static VALUE
46
- animation_get_iter(argc, argv, self)
47
- int argc;
48
- VALUE *argv;
49
- VALUE self;
43
+ animation_get_iter(int argc, VALUE *argv, VALUE self)
50
44
  {
51
45
  VALUE start_time_sec, start_time_usec;
52
46
  GTimeVal* time = NULL;
@@ -66,24 +60,19 @@ animation_get_iter(argc, argv, self)
66
60
  }
67
61
 
68
62
  static VALUE
69
- animation_is_static_image(self)
70
- VALUE self;
63
+ animation_is_static_image(VALUE self)
71
64
  {
72
65
  return CBOOL2RVAL(gdk_pixbuf_animation_is_static_image(_SELF(self)));
73
66
  }
74
67
 
75
68
  static VALUE
76
- animation_get_static_image(self)
77
- VALUE self;
69
+ animation_get_static_image(VALUE self)
78
70
  {
79
71
  return GOBJ2RVAL(gdk_pixbuf_animation_get_static_image(_SELF(self)));
80
72
  }
81
73
 
82
74
  static VALUE
83
- animation_iter_advance(argc, argv, self)
84
- int argc;
85
- VALUE *argv;
86
- VALUE self;
75
+ animation_iter_advance(int argc, VALUE *argv, VALUE self)
87
76
  {
88
77
  VALUE current_time_sec, current_time_usec;
89
78
  GTimeVal* time = NULL;
@@ -104,22 +93,19 @@ animation_iter_advance(argc, argv, self)
104
93
  }
105
94
 
106
95
  static VALUE
107
- animation_iter_get_delay_time(self)
108
- VALUE self;
96
+ animation_iter_get_delay_time(VALUE self)
109
97
  {
110
98
  return INT2NUM(gdk_pixbuf_animation_iter_get_delay_time(RVAL2ITR(self)));
111
99
  }
112
100
 
113
101
  static VALUE
114
- animation_iter_on_currently_loading_frame(self)
115
- VALUE self;
102
+ animation_iter_on_currently_loading_frame(VALUE self)
116
103
  {
117
104
  return CBOOL2RVAL(gdk_pixbuf_animation_iter_on_currently_loading_frame(RVAL2ITR(self)));
118
105
  }
119
106
 
120
107
  static VALUE
121
- animation_iter_get_pixbuf(self)
122
- VALUE self;
108
+ animation_iter_get_pixbuf(VALUE self)
123
109
  {
124
110
  return GOBJ2RVAL(gdk_pixbuf_animation_iter_get_pixbuf(RVAL2ITR(self)));
125
111
  }
@@ -14,8 +14,7 @@
14
14
  #define _SELF(s) (GDK_PIXBUF_SIMPLE_ANIM(RVAL2GOBJ(s)))
15
15
 
16
16
  static VALUE
17
- simpleanim_initialize(self, width, height, rate)
18
- VALUE self, width, height, rate;
17
+ simpleanim_initialize(VALUE self, VALUE width, VALUE height, VALUE rate)
19
18
  {
20
19
  GdkPixbufSimpleAnim* ret = gdk_pixbuf_simple_anim_new(NUM2INT(width), NUM2INT(height), NUM2DBL(rate));
21
20
  G_INITIALIZE(self, ret);
@@ -23,8 +22,7 @@ simpleanim_initialize(self, width, height, rate)
23
22
  }
24
23
 
25
24
  static VALUE
26
- simpleanim_add_frame(self, pixbuf)
27
- VALUE self, pixbuf;
25
+ simpleanim_add_frame(VALUE self, VALUE pixbuf)
28
26
  {
29
27
  gdk_pixbuf_simple_anim_add_frame(_SELF(self), RVAL2GOBJ(pixbuf));
30
28
  return self;
@@ -39,8 +39,7 @@ gdk_pixdata_get_type (void)
39
39
  }
40
40
  /*****************************************/
41
41
  static VALUE
42
- pixdata_s_from_pixbuf(self, pixbuf, use_rle)
43
- VALUE self, pixbuf, use_rle;
42
+ pixdata_s_from_pixbuf(VALUE self, VALUE pixbuf, VALUE use_rle)
44
43
  {
45
44
  GdkPixdata pixdata;
46
45
  gpointer rle_data = gdk_pixdata_from_pixbuf(&pixdata, RVAL2GOBJ(pixbuf), RVAL2CBOOL(use_rle));
@@ -53,8 +52,7 @@ pixdata_s_from_pixbuf(self, pixbuf, use_rle)
53
52
  }
54
53
 
55
54
  static VALUE
56
- pixdata_to_pixbuf(self, copy_pixels)
57
- VALUE self, copy_pixels;
55
+ pixdata_to_pixbuf(VALUE self, VALUE copy_pixels)
58
56
  {
59
57
  GError* error = NULL;
60
58
  GdkPixbuf* ret = gdk_pixbuf_from_pixdata(_SELF(self), RVAL2CBOOL(copy_pixels), &error);
@@ -64,8 +62,7 @@ pixdata_to_pixbuf(self, copy_pixels)
64
62
  }
65
63
 
66
64
  static VALUE
67
- pixdata_serialize(self)
68
- VALUE self;
65
+ pixdata_serialize(VALUE self)
69
66
  {
70
67
  guint stream_length;
71
68
  gint i;
@@ -78,8 +75,7 @@ pixdata_serialize(self)
78
75
  }
79
76
 
80
77
  static VALUE
81
- pixdata_s_deserialize(self, stream)
82
- VALUE self, stream;
78
+ pixdata_s_deserialize(VALUE self, VALUE stream)
83
79
  {
84
80
  GdkPixdata pixdata;
85
81
  gboolean ret;
@@ -104,8 +100,7 @@ pixdata_s_deserialize(self, stream)
104
100
  }
105
101
 
106
102
  static VALUE
107
- pixdata_to_csource(self, name, dump_type)
108
- VALUE self, name, dump_type;
103
+ pixdata_to_csource(VALUE self, VALUE name, VALUE dump_type)
109
104
  {
110
105
  GString* str = gdk_pixdata_to_csource(_SELF(self), RVAL2CSTR(name), FIX2INT(dump_type));
111
106
  VALUE ret = CSTR2RVAL(str->str);
@@ -115,15 +110,13 @@ pixdata_to_csource(self, name, dump_type)
115
110
 
116
111
  /* GdkPixdata */
117
112
  static VALUE
118
- pixdata_magic(self)
119
- VALUE self;
113
+ pixdata_magic(VALUE self)
120
114
  {
121
115
  return UINT2NUM(_SELF(self)->magic);
122
116
  }
123
117
 
124
118
  static VALUE
125
- pixdata_length(self)
126
- VALUE self;
119
+ pixdata_length(VALUE self)
127
120
  {
128
121
  gint32 length = _SELF(self)->length;
129
122
 
@@ -133,36 +126,31 @@ pixdata_length(self)
133
126
  }
134
127
 
135
128
  static VALUE
136
- pixdata_pixdata_type(self)
137
- VALUE self;
129
+ pixdata_pixdata_type(VALUE self)
138
130
  {
139
131
  return UINT2NUM(_SELF(self)->pixdata_type);
140
132
  }
141
133
 
142
134
  static VALUE
143
- pixdata_rowstride(self)
144
- VALUE self;
135
+ pixdata_rowstride(VALUE self)
145
136
  {
146
137
  return INT2NUM(_SELF(self)->rowstride);
147
138
  }
148
139
 
149
140
  static VALUE
150
- pixdata_width(self)
151
- VALUE self;
141
+ pixdata_width(VALUE self)
152
142
  {
153
143
  return INT2NUM(_SELF(self)->width);
154
144
  }
155
145
 
156
146
  static VALUE
157
- pixdata_height(self)
158
- VALUE self;
147
+ pixdata_height(VALUE self)
159
148
  {
160
149
  return INT2NUM(_SELF(self)->height);
161
150
  }
162
151
 
163
152
  static VALUE
164
- pixdata_pixel_data(self)
165
- VALUE self;
153
+ pixdata_pixel_data(VALUE self)
166
154
  {
167
155
  gint i;
168
156
  guint8* ret = _SELF(self)->pixel_data;
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdk_pixbuf2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 377
4
+ hash: 359
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 90
9
- - 7
10
- version: 0.90.7
9
+ - 8
10
+ version: 0.90.8
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - The Ruby-GNOME2 Proejct Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-02 00:00:00 +09:00
18
+ date: 2011-03-04 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 377
29
+ hash: 359
30
30
  segments:
31
31
  - 0
32
32
  - 90
33
- - 7
34
- version: 0.90.7
33
+ - 8
34
+ version: 0.90.8
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  description: Ruby/GdkPixbuf2 is a Ruby binding of GdkPixbuf-2.x.