Closed niess closed 3 years ago
you sure? it looks to me like the first istype
returns false
on cffi, and the last one returns true
@q66 You are right I inverted both cases in the explanation. Sorry. Yet there is still a difference in behaviour. But mabye it is intended?*
So with cffi
one gets false, true
but with LuaJIT/ffi
one gets true, true
. I.e. double []
and double (&)[]
seem to be equivalent istype
in LuaJIT/ffi
but not with cffi
.
well, not anymore, should be fixed
Thank you for the patch :)
Hello,
Thank your for your help on the previous issue.
this one might be intended? I came across the following difference between
LuaJIT/ffi
andcffi
:the last
istype
returns true withLuaJIT/ffi
but false withcffi
, i.e.double [3]
anddouble (&)[3]
are considered as the same type in one case but different types in the second case.