Skip to content

Improvement: make FFI functions in HMON return error code #82

@arkjedrz

Description

@arkjedrz

Currently HMON FFI is returning values or void, and many errors are raise panic.
Panic in extern "C" functions cannot unwind, which causes terminate.
Replace return values with a shared return code so no panics occur on the interface and C++ layer is able to determine erroneous state.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions