Skip to content

Safety mistake? when calling binding function #232

@ozgrakkurt

Description

@ozgrakkurt

Shouldn't this be marked unsafe?

pub fn create_reference(&self, cons: napi_value, count: u32) -> Result<napi_ref, NjError> {

If it call this with a null pointer or something like that, it is ub?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions