Skip to content

Commit 227c027

Browse files
committed
use CArray.length to avoid double call to List.length
1 parent ce424c7 commit 227c027

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
1+
- Use `CArray.length` on arrays constructed via `CArray.of_list` to
2+
avoid a double call to `List.length`.
23
- Use implicit linking on MSVC to let ctypes-foreign find SDL2
34
functions on Windows. Thanks to Jonah Beckford for the patch.
45
- Add binding to `SDL_SetWindowInputFocus`.

0 commit comments

Comments
 (0)