glfw: add getErrorString() to access the current error description #225

Merged
iddev5 merged 1 commit from ay-error-desc into main 2022-04-17 17:49:05 +00:00
iddev5 commented 2022-04-17 17:42:13 +00:00 (Migrated from github.com)
  • By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right.

First step towards https://matrix.to/#/!bIJeTLtOHucXQpqIcH:matrix.org/$1ycSFVJ77wBmUJCPF_o8I7aXmN7vqc3rTXHpsFjdKV0?via=matrix.org&via=mozilla.org&via=one.ems.host
(Getting error description set by glfw in tests)

The API to access the error message was absent in the first place. This PR however adds it in a way that it would be convenient to work with (and hence its not completely identical to C version.

This does not actually modify the tests yet, I m planning to do that with another PR.

- [x] By selecting this checkbox, I agree to license my contributions to this project under the license(s) described in the LICENSE file, and I have the right to do so or have received permission to do so by an employer or client I am producing work for whom has this right. First step towards https://matrix.to/#/!bIJeTLtOHucXQpqIcH:matrix.org/$1ycSFVJ77wBmUJCPF_o8I7aXmN7vqc3rTXHpsFjdKV0?via=matrix.org&via=mozilla.org&via=one.ems.host (Getting error description set by glfw in tests) The API to access the error message was absent in the first place. This PR however adds it in a way that it would be convenient to work with (and hence its not completely identical to C version. This does not actually modify the tests yet, I m planning to do that with another PR.
emidoots (Migrated from github.com) approved these changes 2022-04-17 17:48:54 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach!225
No description provided.