Skip to content

Unsafe API not marked as such #2

@sdroege

Description

@sdroege

E.g. the following

pub fn initialize(native_disp: *mut VANativeDisplay) -> Result<VADisplay, ()> {

The pointer is going to be used internally, and as such the function should be marked unsafe. The user could easily put 123 or anything else in there as raw pointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions