You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is future-proofing. I know the declaration of the direction of buffer usage from OpenGL, where the memory location can be different according to this information.
Struct.ptr
does not utilize the optional argumentflags
(not even checking if it’s a valid choice).ffi/lib/ffi/struct.rb
Lines 131 to 133 in f2d3846
Struct
andBuffer
’s.
alloc
/new
_
inout
/in
/out
are all either an alias of, or is nothing more than a delegate to,.new
.ffi/ext/ffi_c/Struct.c
Lines 859 to 864 in f2d3846
ffi/ext/ffi_c/Buffer.c
Lines 194 to 198 in f2d3846
ffi/ext/ffi_c/Buffer.c
Lines 387 to 407 in f2d3846
The text was updated successfully, but these errors were encountered: