gobject-introspection 3.3.3 → 3.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gobject-introspection/rb-gi-loader.c +3 -3
- data/lib/gobject-introspection/loader.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2025a461c53e3d51a33e24f8afdb7df6d0b82c8e4da0aa9bab4028691dd23162
|
4
|
+
data.tar.gz: 9585740c24b8c4672d9ba4de3d9ef13290de1def07bad69766ef16af1ed482c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 288d0a2c1bad883e1566c7dbaab1b44b06f28cbd81ed1e25987306143ddb47abdcde9139c8e102336ac0408d5641591f6cfc3818e0840d380f47e190308afafa
|
7
|
+
data.tar.gz: 24d12fc418968352517b2acfb62587730576803b906ca49e1a4e14de910fdd052098896863be4a5be213b8f831a6b24b5cf91343b0051c354ff167105e672722
|
@@ -54,7 +54,7 @@ rg_s_define_interface(G_GNUC_UNUSED VALUE klass,
|
|
54
54
|
{
|
55
55
|
GType gtype;
|
56
56
|
|
57
|
-
gtype =
|
57
|
+
gtype = rbgobj_gtype_get(rb_gtype);
|
58
58
|
return G_DEF_INTERFACE(gtype, RVAL2CSTR(rb_name), rb_module);
|
59
59
|
}
|
60
60
|
|
@@ -62,14 +62,14 @@ static VALUE
|
|
62
62
|
struct_alloc(VALUE klass)
|
63
63
|
{
|
64
64
|
VALUE rb_size;
|
65
|
-
|
66
|
-
gpointer instance;
|
65
|
+
gpointer instance = NULL;
|
67
66
|
gboolean is_owned;
|
68
67
|
|
69
68
|
rb_size = rb_iv_get(klass, "@size");
|
70
69
|
if (NIL_P(rb_size)) {
|
71
70
|
is_owned = FALSE;
|
72
71
|
} else {
|
72
|
+
size_t size;
|
73
73
|
size = NUM2ULONG(rb_size);
|
74
74
|
instance = xcalloc(1, size);
|
75
75
|
is_owned = TRUE;
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gobject-introspection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.3.
|
19
|
+
version: 3.3.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.3.
|
26
|
+
version: 3.3.4
|
27
27
|
description: Ruby/GObjectIntrospection provides bindings of GObject Introspection
|
28
28
|
and a loader module that can generate dynamically Ruby bindings of any GObject C
|
29
29
|
libraries
|