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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ffi_gen/java_output.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32ad2abdaee3cc109a729362447b3938e4b66e4b
4
- data.tar.gz: 0e553a6093fd7a600ffae764a8a232b8f36375d3
3
+ metadata.gz: d43c9264a03c583f4b78b9a2531c3bd157af528b
4
+ data.tar.gz: ae591971b418db2de3d5acc525a5dc4192237dec
5
5
  SHA512:
6
- metadata.gz: 64e7336d1f6f8dd02fc6957b182c16fac32ab6177eabb5d85afd24e1838c9c2b21e9d5ad19189548389b85d0f7ea57a9767f9eb07dd6e7cefbb86cd7254f6c57
7
- data.tar.gz: 750846ae5693d8ffd36b37cbc36c66191d5f8c943092566b76d5b568b9d46089b9d025d2da4f75d6abcd611e37f5151ba0fa2877e02a064cfef5f33b10b56b5c
6
+ metadata.gz: ef10fe618f5d86fca8c09a1bf5378223bc9679d2b9dc97e1163ac42ae53efb4cafa7109ca75de27559ce1b60984336a1cec7cd6a89b4d4ec08c6c44f75f2d1e6
7
+ data.tar.gz: 4399c67a55185ee66c072ab05f995d7017f01fec478cc9be19ad8876db2a9bbc5b9f31f7719fc1a777fe463fb55d1cd8c601911e9487008beff9d30b99cbe524
@@ -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.8
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-14 00:00:00.000000000 Z
11
+ date: 2015-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi