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'm using cbindgen and its been working great, but I've run into an issue with two types: value_t and array_t, where a value could be an array and an array is an array of values.
if array is defined before value it works because it has a pointer, so known size, but cbindgen produces them in the opposite order which produces an error. Is there any way currently to alter this order, if not is would it be possible for me to add support for doing this automatically or manual reordering.
I'm using cbindgen and its been working great, but I've run into an issue with two types: value_t and array_t, where a value could be an array and an array is an array of values.
if array is defined before value it works because it has a pointer, so known size, but cbindgen produces them in the opposite order which produces an error. Is there any way currently to alter this order, if not is would it be possible for me to add support for doing this automatically or manual reordering.
https://github.com/surrealdb/surrealdb.c/tree/02e6eafbc8f1b5d0ff303d4f19ba784ec04b466a
clone the above and run ./test.sh to recreate
The text was updated successfully, but these errors were encountered: