File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def self.convert_ruby_to_native(type, val)
74
74
Integer ( val )
75
75
when Fiddle ::TYPE_FLOAT , Fiddle ::TYPE_DOUBLE
76
76
Float ( val )
77
- else
77
+ else
78
78
raise "#{ val . inspect } to type #{ type } "
79
79
end
80
80
end
@@ -87,7 +87,7 @@ def self.convert_native_to_ruby(type, val)
87
87
Fiddle ::Pointer . new ( Truffle ::Interop . to_native ( val ) )
88
88
when Fiddle ::TYPE_INT , Fiddle ::TYPE_FLOAT , Fiddle ::TYPE_DOUBLE
89
89
val
90
- else
90
+ else
91
91
raise "#{ val . inspect } from type #{ type } "
92
92
end
93
93
end
@@ -219,7 +219,7 @@ def self.sym(*args)
219
219
def self . []( *args )
220
220
raise 'not implemented'
221
221
end
222
-
222
+
223
223
RTLD_LAZY = Truffle ::Config [ 'platform.dlopen.RTLD_LAZY' ]
224
224
RTLD_NOW = Truffle ::Config [ 'platform.dlopen.RTLD_NOW' ]
225
225
RTLD_GLOBAL = Truffle ::Config [ 'platform.dlopen.RTLD_GLOBAL' ]
You can’t perform that action at this time.
0 commit comments