Translate (In
-only?) MemorySize(BytesParamIndex = N)
void pointers to &[u8]
?
#3229
Labels
question
Further information is requested
Suggestion
In
Windows.Win32.Graphics.Direct3D.Fxc
there's this function in the metadata:In
windows-rs
that currently takes a raw pointer and a slice:Would it be nice to pass a sized slice borrow of
u8
here instead?#2106 is perhaps related, but seems to mostly discuss preallocated
out
slices that would have to useMaybeUninit<u8>
to allow the caller to skip initialization.The text was updated successfully, but these errors were encountered: