Skip to content

Commit 33b73d8

Browse files
hazeycodeCopilot
andauthored
Doc-comment src/zglfw.zig
Co-authored-by: Copilot <[email protected]>
1 parent 4998775 commit 33b73d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/zglfw.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,8 @@ comptime {
12411241
}
12421242

12431243
/// use glfwSetCallback instead
1244+
/// This is a stub implementation for Emscripten compatibility.
1245+
/// It always returns 0 to indicate no error, as Emscripten does not support this functionality.
12441246
fn glfwGetError() callconv(.c) i32 {
12451247
return 0; // no error
12461248
}

0 commit comments

Comments
 (0)