Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target Bool / bool instead of wrapping as integers #310

Closed
dcharkes opened this issue Apr 12, 2022 · 1 comment · Fixed by dart-archive/ffigen#391
Closed

Target Bool / bool instead of wrapping as integers #310

dcharkes opened this issue Apr 12, 2022 · 1 comment · Fixed by dart-archive/ffigen#391

Comments

@dcharkes
Copy link
Collaborator

dart:ffi has support for booleans since https://dart-review.googlesource.com/c/sdk/+/216900

We should generate that instead of != 0 with integers.

Context: dart-archive/ffigen#311 (comment)

cc @mannprerak2, seems I forgot about adding this to dart:ffi 😄

@mannprerak2
Copy link
Contributor

Cool, do we also remove the dart-bool config option then?

@liamappelbe liamappelbe transferred this issue from dart-archive/ffigen Nov 15, 2023
HosseinYousefi pushed a commit that referenced this issue Nov 16, 2023
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](coverallsapp/github-action@f350da2...c7885c0)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
HosseinYousefi pushed a commit that referenced this issue Nov 16, 2023
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](coverallsapp/github-action@f350da2...c7885c0)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parlough pushed a commit to parlough/native that referenced this issue Apr 8, 2024
* NSString utils

* Add an extension method to String
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants