Skip to content

GoType::UserDefined should only be cleaned up if memory was allocated #92

@blaine-arcjet

Description

@blaine-arcjet

Currently, GoType::UserDefined always forces a cleanup. This doesn't work if the user-defined type doesn't allocate anything, which means a cabi_post_* function won't be created.

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