ffi-clang 0.12.0 → 0.13.0
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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/ffi/clang/lib/type.rb +1 -0
- data/lib/ffi/clang/types/elaborated.rb +2 -2
- data/lib/ffi/clang/types/type.rb +4 -0
- data/lib/ffi/clang/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -8
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 81d116e3cb3034740ddb9959f4ebee08b8f4c0a3973b0b7de9b6041bb8191da3
|
|
4
|
+
data.tar.gz: 717ce7577201ee0c5f7561df8630c01894272c4a8457cd6080533aee66af0f58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e006fa7e657709591dc109d653e03f439dd9f60de75de7348b6dd126ff96c06801d44858172362d295e3a74e99652b7604e607840872eb21d3e561390e61309
|
|
7
|
+
data.tar.gz: ec3246af36541a1396252ec65028e61e2bf872803e8d01453787a55e5815e340fefbeb7738ddb4e1eb4647db8fb3466317e6fbff6441680d4c73a9deae0e5256
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/ffi/clang/lib/type.rb
CHANGED
|
@@ -192,6 +192,7 @@ module FFI
|
|
|
192
192
|
|
|
193
193
|
attach_function :get_type_kind_spelling, :clang_getTypeKindSpelling, [:kind], CXString.by_value
|
|
194
194
|
attach_function :get_type_spelling, :clang_getTypeSpelling, [CXType.by_value], CXString.by_value
|
|
195
|
+
attach_function :get_named_type, :clang_Type_getNamedType, [CXType.by_value], CXType.by_value
|
|
195
196
|
|
|
196
197
|
attach_function :is_function_type_variadic, :clang_isFunctionTypeVariadic, [CXType.by_value], :uint
|
|
197
198
|
attach_function :is_pod_type, :clang_isPODType, [CXType.by_value], :uint
|
|
@@ -2,8 +2,8 @@ module FFI
|
|
|
2
2
|
module Clang
|
|
3
3
|
module Types
|
|
4
4
|
class Elaborated < Type
|
|
5
|
-
def
|
|
6
|
-
Type.create Lib.
|
|
5
|
+
def named_type
|
|
6
|
+
Type.create Lib.get_named_type(@type), @translation_unit
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
# Example anonymous union where `u` is an elaborated type
|
data/lib/ffi/clang/types/type.rb
CHANGED
data/lib/ffi/clang/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ffi-clang
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Williams
|
|
@@ -23,7 +23,6 @@ authors:
|
|
|
23
23
|
- Cameron Dutro
|
|
24
24
|
- Dominic Sisnero
|
|
25
25
|
- Hal Brodigan
|
|
26
|
-
autorequire:
|
|
27
26
|
bindir: bin
|
|
28
27
|
cert_chain:
|
|
29
28
|
- |
|
|
@@ -55,7 +54,7 @@ cert_chain:
|
|
|
55
54
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
|
56
55
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
|
57
56
|
-----END CERTIFICATE-----
|
|
58
|
-
date:
|
|
57
|
+
date: 2025-02-16 00:00:00.000000000 Z
|
|
59
58
|
dependencies:
|
|
60
59
|
- !ruby/object:Gem::Dependency
|
|
61
60
|
name: ffi
|
|
@@ -71,8 +70,6 @@ dependencies:
|
|
|
71
70
|
- - ">="
|
|
72
71
|
- !ruby/object:Gem::Version
|
|
73
72
|
version: '0'
|
|
74
|
-
description:
|
|
75
|
-
email:
|
|
76
73
|
executables: []
|
|
77
74
|
extensions: []
|
|
78
75
|
extra_rdoc_files: []
|
|
@@ -128,7 +125,6 @@ licenses:
|
|
|
128
125
|
metadata:
|
|
129
126
|
funding_uri: https://github.com/sponsors/ioquatix/
|
|
130
127
|
source_code_uri: https://github.com/ioquatix/ffi-clang.git
|
|
131
|
-
post_install_message:
|
|
132
128
|
rdoc_options: []
|
|
133
129
|
require_paths:
|
|
134
130
|
- lib
|
|
@@ -143,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
143
139
|
- !ruby/object:Gem::Version
|
|
144
140
|
version: '0'
|
|
145
141
|
requirements: []
|
|
146
|
-
rubygems_version: 3.
|
|
147
|
-
signing_key:
|
|
142
|
+
rubygems_version: 3.6.2
|
|
148
143
|
specification_version: 4
|
|
149
144
|
summary: Ruby FFI bindings for libclang C interface.
|
|
150
145
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|