Skip to content

[common] Unify FFI result types #563

@danielsn

Description

@danielsn
          Very likely for a separate PR as well, but it occurred to me that both `ddog_crasht_Result` and `ddog_prof_Profile_Result` are exactly the same `(dummy boolean, ddog_Error)` pair.

Furthermore, they already both use ddog_Error, so I'm thinking it may be relevant to introduce a shared ddog_Result.

Originally posted by @ivoanjo in #551 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions