You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Someone who knows rust and cgo better than me may also wanna look at
this, cause I know neither, but my local tests appear to be running?
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Change `is_done` type from `bool` to `int` in callback functions
across Rust and Go code for compatibility.
>
> - **Behavior**:
> - Change `is_done` type from `bool` to `int` in `CallbackFn` in
`lib.rs` and `baml_cffi_generated.h`.
> - Update `safe_trigger_callback()` in `lib.rs` to convert `bool` to
`int` for `is_done`.
> - Modify `trigger_callback()` and `error_callback()` in `callbacks.go`
to use `int` for `is_done`.
> - **Code Cleanup**:
> - Remove `#include <stdbool.h>` from `exports.go`, `lib.go`, and
`callbacks.go` as `bool` is no longer used.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for 49cd820. You can
[customize](https://app.ellipsis.dev/BoundaryML/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
0 commit comments