fixed pointer argument handling issues when interfacing with libffi in mod/ffi.c
This commit is contained in:
@ -34,7 +34,8 @@ class FFI(Object)
|
||||
self.name := name.
|
||||
|
||||
x := self.ffi open(name).
|
||||
(x isError) ifTrue: [^x].
|
||||
//(x isError) ifTrue: [^x].
|
||||
if (x isError) { FFIException signal: ('Unable to open %s' strfmt(name)) }.
|
||||
|
||||
^self.
|
||||
}
|
||||
|
Reference in New Issue
Block a user