fixed pointer argument handling issues when interfacing with libffi in mod/ffi.c

This commit is contained in:
hyunghwan.chung
2019-08-10 04:08:49 +00:00
parent 70c97f5ab5
commit 85eae9e78b
3 changed files with 76 additions and 26 deletions

View File

@ -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.
}