cairo-gobject 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a3958b2e0d24d814edb90f49789359a824b6fd6
4
- data.tar.gz: 5b1d9c3f53fa56109752a2b76436916cfac18eff
3
+ metadata.gz: 93d4fa5397b651232433ea166a78dfd845183c79
4
+ data.tar.gz: 4e9ff17b5116076352977962c99a096b95e1d53a
5
5
  SHA512:
6
- metadata.gz: 5c7f601fbbc1752353363fa7826d9a7291ae6959efc93f10240edcb373745af297ccd8ff738f6d6b81a591010a217a87689bd41378b7ed5cfed2434149a3b660
7
- data.tar.gz: cf4736937b3347924a13046661297832fdd87afd6ae0c3e856c79af38d19f2e5263a8c8a5719a65adf9583f7149d9dcff6e0a28a4e763e395e6b2c93f6881a6a
6
+ metadata.gz: 017143ea30a500477859f1ff860b7e15a8168f8a9da1dac9cfbf61d98f55eaeba0f943dd281de3f63e13efdecc31588586d0ad1284e8753e3772d42b5455ae6a
7
+ data.tar.gz: 8450bee262c76d77b353cd43ffdf28a6ddea38cc1b7112f07e4118e55778827177a7f69d76a144701488ac7eb301c5c5ab3ed8d6843b116f87b83c064a1a232d
@@ -61,10 +61,10 @@ end
61
61
  setup_windows(module_name, base_dir)
62
62
 
63
63
  unless required_pkg_config_package(package_id,
64
- :altlinux => "libcairo-devel",
64
+ :alt_linux => "libcairo-devel",
65
65
  :debian => "libcairo2-dev",
66
66
  :fedora => "cairo-gobject-devel",
67
- :arch => "cairo",
67
+ :arch_linux => "cairo",
68
68
  :homebrew => "cairo")
69
69
  exit(false)
70
70
  end
@@ -22,7 +22,12 @@
22
22
 
23
23
  #define RG_TARGET_NAMESPACE rb_mCairoGObject
24
24
 
25
- #define DEFINE_CONVERSION(prefix, gtype, rb_klass, RVAL2CR, CR2RVAL) \
25
+ #define DEFINE_CONVERSION(prefix, \
26
+ gtype, \
27
+ rb_klass, \
28
+ cr_copy_func, \
29
+ RVAL2CR, \
30
+ CR2RVAL) \
26
31
  static gpointer \
27
32
  prefix ## _robj2instance(VALUE rb_object, \
28
33
  G_GNUC_UNUSED gpointer user_data) \
@@ -47,7 +52,7 @@ static VALUE \
47
52
  prefix ## _instance2robj(gpointer cr_object, \
48
53
  G_GNUC_UNUSED gpointer user_data) \
49
54
  { \
50
- return CR2RVAL(cr_object); \
55
+ return CR2RVAL(cr_copy_func(cr_object)); \
51
56
  } \
52
57
  \
53
58
  static void \
@@ -65,21 +70,26 @@ define_ ## prefix ## _conversion(void) \
65
70
  }
66
71
 
67
72
  DEFINE_CONVERSION(context, CAIRO_GOBJECT_TYPE_CONTEXT, rb_cCairo_Context,
68
- RVAL2CRCONTEXT, CRCONTEXT2RVAL)
73
+ cairo_reference, RVAL2CRCONTEXT, CRCONTEXT2RVAL)
69
74
  DEFINE_CONVERSION(device, CAIRO_GOBJECT_TYPE_DEVICE, rb_cCairo_Device,
70
- RVAL2CRDEVICE, CRDEVICE2RVAL)
75
+ cairo_device_reference, RVAL2CRDEVICE, CRDEVICE2RVAL)
71
76
  DEFINE_CONVERSION(pattern, CAIRO_GOBJECT_TYPE_PATTERN, rb_cCairo_Pattern,
72
- RVAL2CRPATTERN, CRPATTERN2RVAL)
77
+ cairo_pattern_reference, RVAL2CRPATTERN, CRPATTERN2RVAL)
73
78
  DEFINE_CONVERSION(surface, CAIRO_GOBJECT_TYPE_SURFACE, rb_cCairo_Surface,
74
- RVAL2CRSURFACE, CRSURFACE2RVAL)
79
+ cairo_surface_reference, RVAL2CRSURFACE, CRSURFACE2RVAL)
75
80
  DEFINE_CONVERSION(scaled_font, CAIRO_GOBJECT_TYPE_SCALED_FONT,
76
- rb_cCairo_ScaledFont, RVAL2CRSCALEDFONT, CRSCALEDFONT2RVAL)
81
+ rb_cCairo_ScaledFont,
82
+ cairo_scaled_font_reference,
83
+ RVAL2CRSCALEDFONT, CRSCALEDFONT2RVAL)
77
84
  DEFINE_CONVERSION(font_face, CAIRO_GOBJECT_TYPE_FONT_FACE, rb_cCairo_FontFace,
85
+ cairo_font_face_reference,
78
86
  RVAL2CRFONTFACE, CRFONTFACE2RVAL)
79
87
  DEFINE_CONVERSION(font_options, CAIRO_GOBJECT_TYPE_FONT_OPTIONS,
80
- rb_cCairo_FontOptions, RVAL2CRFONTOPTIONS, CRFONTOPTIONS2RVAL)
88
+ rb_cCairo_FontOptions,
89
+ cairo_font_options_copy,
90
+ RVAL2CRFONTOPTIONS, CRFONTOPTIONS2RVAL)
81
91
  DEFINE_CONVERSION(region, CAIRO_GOBJECT_TYPE_REGION, rb_cCairo_Region,
82
- RVAL2CRREGION, CRREGION2RVAL)
92
+ cairo_region_reference, RVAL2CRREGION, CRREGION2RVAL)
83
93
 
84
94
  void
85
95
  Init_cairo_gobject(void)
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo-gobject
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.1.1
33
+ version: 3.1.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.1.1
40
+ version: 3.1.2
41
41
  description: Ruby/CairoGObject is a Ruby binding of cairo-gobject.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -83,7 +83,7 @@ files:
83
83
  - test/test_cairotextclusterflags.rb
84
84
  homepage: http://ruby-gnome2.sourceforge.jp/
85
85
  licenses:
86
- - LGPLv2.1+
86
+ - LGPL-2.1+
87
87
  metadata: {}
88
88
  post_install_message:
89
89
  rdoc_options: []