ghazel-ffi_gen 1.3.9 → 1.3.9.1

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 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d43c9264a03c583f4b78b9a2531c3bd157af528b
4
- data.tar.gz: ae591971b418db2de3d5acc525a5dc4192237dec
3
+ metadata.gz: 8a0d67dc3a56cc1b5a4d73a74f89316005b61f70
4
+ data.tar.gz: c5b89dbc227b3bc2c6bb597368419e301aee368d
5
5
  SHA512:
6
- metadata.gz: ef10fe618f5d86fca8c09a1bf5378223bc9679d2b9dc97e1163ac42ae53efb4cafa7109ca75de27559ce1b60984336a1cec7cd6a89b4d4ec08c6c44f75f2d1e6
7
- data.tar.gz: 4399c67a55185ee66c072ab05f995d7017f01fec478cc9be19ad8876db2a9bbc5b9f31f7719fc1a777fe463fb55d1cd8c601911e9487008beff9d30b99cbe524
6
+ metadata.gz: ac7353f0a2543473fb4e299c2291614cd0e8b62e01961295ea3a9c7e4281e75a8712b51430231115dddb8ee270e952d25b391d2940f596aa6e504a561aa6bbc2
7
+ data.tar.gz: 8745ddb1d5b14852e96d91b361098ed4ab1321104121df97d0770c19875a9d04a9fb1a80f8a4ddea300ab655f56912888f535a13d8463e302ab9717581c7b77c
@@ -209,7 +209,7 @@ class FFIGen
209
209
  replace[n] || n
210
210
  }.join(', ')
211
211
  jna_signature = "#{parameters.map{ |parameter| "#{parameter[:type].java_jna_type} #{parameter[:name].to_java_downcase}" }.join(', ')}"
212
- writer.puts "static #{@return_type.java_jna_type} #{java_name}(#{jna_signature}) {"
212
+ writer.puts "public static #{@return_type.java_jna_type} #{java_name}(#{jna_signature}) {"
213
213
  writer.indent do
214
214
  call = "INSTANCE.#{java_name}(#{args});"
215
215
  if @return_type.respond_to? :clang_type and @return_type.clang_type == :void
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.9
4
+ version: 1.3.9.1
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-21 00:00:00.000000000 Z
11
+ date: 2015-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi