fwi 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fwi.gemspec +1 -1
- data/lib/fwi/compilers/cpp/gen.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d51832a1970df0f5d3e0dac30d63cb77d96ea27
|
4
|
+
data.tar.gz: 586465ff80915c200d825afe89dbbe3fbfa8f915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 210d54237157215f30a5cc2d694f808855440ffd00138a41531033207a4bb3c94c2462843e1c605c5858bb3f95793cec6dfa8fa4aa21c03b6f48a49af3f2fa43
|
7
|
+
data.tar.gz: 390f4f1e9a40a7c4021bf7a551e0d8ae8b57bc1ba247570da6774881c55774d5c2177684bfaf62a8f94cd70b237f8c2e6e12e1a710699072ed3f604270cf6325
|
data/fwi.gemspec
CHANGED
@@ -68,13 +68,13 @@ module Generator
|
|
68
68
|
func_sig = ""
|
69
69
|
if mode == :setter
|
70
70
|
func_name += custom_setter.nil? ? "set_#{name}" : custom_setter
|
71
|
-
func_sig = "void #{func_name}(#{param}#{ctype} value)"
|
71
|
+
func_sig = "FWIFUNC void #{func_name}(#{param}#{ctype} value)"
|
72
72
|
elsif mode == :getter
|
73
73
|
func_name += custom_getter.nil? ? "get_#{name}" : custom_getter
|
74
|
-
func_sig = "#{ctype} #{func_name}(#{param})"
|
74
|
+
func_sig = "FWIFUNC #{ctype} #{func_name}(#{param})"
|
75
75
|
elsif mode == :length
|
76
76
|
func_name += custom_length.nil? ? "#{name}_length" : custom_length
|
77
|
-
func_sig = "int #{func_name}(#{param})"
|
77
|
+
func_sig = "FWIFUNC int #{func_name}(#{param})"
|
78
78
|
end
|
79
79
|
func_sig += truncate ? ";" : ' {'
|
80
80
|
index = member[:index]
|