ghazel-ffi_gen 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ffi_gen/java_output.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d43c9264a03c583f4b78b9a2531c3bd157af528b
|
4
|
+
data.tar.gz: ae591971b418db2de3d5acc525a5dc4192237dec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef10fe618f5d86fca8c09a1bf5378223bc9679d2b9dc97e1163ac42ae53efb4cafa7109ca75de27559ce1b60984336a1cec7cd6a89b4d4ec08c6c44f75f2d1e6
|
7
|
+
data.tar.gz: 4399c67a55185ee66c072ab05f995d7017f01fec478cc9be19ad8876db2a9bbc5b9f31f7719fc1a777fe463fb55d1cd8c601911e9487008beff9d30b99cbe524
|
data/lib/ffi_gen/java_output.rb
CHANGED
@@ -125,6 +125,7 @@ class FFIGen
|
|
125
125
|
writer.puts "// hidden structure" if @fields.empty?
|
126
126
|
end
|
127
127
|
writer.indent do
|
128
|
+
writer.puts "public static class ByValue extends #{java_name} implements Structure.ByValue {}"
|
128
129
|
writer.puts "protected List<String> getFieldOrder() {"
|
129
130
|
writer.indent do
|
130
131
|
fs = @fields.map{|f| '"' + f[:name].raw + '"'}.join(", ")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghazel-ffi_gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Musiol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|