Issue on functions with slice inputs. &[ ] #3329
Replies: 2 comments 2 replies
-
I think the problem you encounter is that I think to really help you, it would be necessary to see the call site which produces the error in question. Is that under your control and could you force slicing somehow? |
Beta Was this translation helpful? Give feedback.
-
full code on: This macro will apply the transformations pointed here: for C it exported: If I change my input to be without a reference: @adamreichold Do you mean try another type on entry instead &[ ]? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm currently utilizing pyo3 for a multibinding macro, and I'm encountering difficulties with slice inputs.
Could someone provide me some guidance on how to fix or a workaround for this issue?
Out of curiosity, here is the macro: https://crates.io/crates/cpy-binder. We use it to create multibindings for both C and Python.
Beta Was this translation helpful? Give feedback.
All reactions