Open udoprog opened 3 weeks ago
See for example: sqlite3_result_blob.
sqlite3_result_blob
In sqlite3 these supports special sentinel values which marks the value as transient, see: https://sqlite.org/c3ref/c_static.html.
This can only be done by coercing the sentinel value -1 into the Option<T> directly, which to my knowledge is not guaranteed to be correct.
-1
Option<T>
Thank you for the note. I guess one has to look into how to customize bindgen to accommodate this.
bindgen
See for example:
sqlite3_result_blob
.In sqlite3 these supports special sentinel values which marks the value as transient, see: https://sqlite.org/c3ref/c_static.html.
This can only be done by coercing the sentinel value
-1
into theOption<T>
directly, which to my knowledge is not guaranteed to be correct.