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.
- checksums.yaml +4 -4
- data/lib/ffi_gen/java_output.rb +1 -1
- 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: 8a0d67dc3a56cc1b5a4d73a74f89316005b61f70
|
4
|
+
data.tar.gz: c5b89dbc227b3bc2c6bb597368419e301aee368d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac7353f0a2543473fb4e299c2291614cd0e8b62e01961295ea3a9c7e4281e75a8712b51430231115dddb8ee270e952d25b391d2940f596aa6e504a561aa6bbc2
|
7
|
+
data.tar.gz: 8745ddb1d5b14852e96d91b361098ed4ab1321104121df97d0770c19875a9d04a9fb1a80f8a4ddea300ab655f56912888f535a13d8463e302ab9717581c7b77c
|
data/lib/ffi_gen/java_output.rb
CHANGED
@@ -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-
|
11
|
+
date: 2015-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|