Skip to content

Remove optionals where they don't make sense #56

@Guigui220D

Description

@Guigui220D

Some places I used optionals just because the translate c made signatures with optional pointers, but it seems like

  • some methods always return a pointer
  • even when it is uninitialized it returns a value that would segfault (and I can't check that)
    This would avoid some checks both inside the function and for the caller

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions