Skip to content

API doesn't permit specifying transient destructors without potentially unsound coercions #9

Description

@udoprog

See for example: sqlite3_result_blob.

In sqlite3 these support 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions