Skip to content

Commit 77b48c0

Browse files
committed
Fix constness of ptr argument to GuiListViewEx
1 parent 0f3fb2e commit 77b48c0

File tree

6 files changed

+15
-8
lines changed

6 files changed

+15
-8
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.5.1 (2025-10-14)
2+
------------------
3+
4+
* Fix constness of ptr argument to `GuiListViewEx`
5+
* Distingish msys and other mingw environments
6+
17
1.5.0 (2025-10-08)
28
------------------
39

dune-project

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
(package
1919
(name raylib)
20-
(version 1.5.0)
20+
(version 1.5.1)
2121
(description "OCaml bindings for raylib")
2222
(synopsis "OCaml bindings for raylib")
2323
(depends
@@ -55,7 +55,7 @@
5555

5656
(package
5757
(name raygui)
58-
(version 1.5.0)
58+
(version 1.5.1)
5959
(description "OCaml bindings for raygui")
6060
(synopsis "OCaml bindings for raygui")
6161
(depends
@@ -64,7 +64,7 @@
6464

6565
(package
6666
(name raylib-callbacks)
67-
(version 1.5.0)
67+
(version 1.5.1)
6868
(description "OCaml bindings for raygui")
6969
(synopsis "OCaml bindings for raygui")
7070
(depends

raygui.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "1.5.0"
3+
version: "1.5.1"
44
synopsis: "OCaml bindings for raygui"
55
description: "OCaml bindings for raygui"
66
maintainer: ["[email protected]"]

raylib-callbacks.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "1.5.0"
3+
version: "1.5.1"
44
synopsis: "OCaml bindings for raygui"
55
description: "OCaml bindings for raygui"
66
maintainer: ["[email protected]"]

raylib.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "1.5.0"
3+
version: "1.5.1"
44
synopsis: "OCaml bindings for raylib"
55
description: "OCaml bindings for raylib"
66
maintainer: ["[email protected]"]

src/c/raygui/functions.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ module Functions (F : Ctypes.FOREIGN) = struct
171171
(* List View with extended parameters *)
172172
let _list_view_ex =
173173
foreign "GuiListViewEx"
174-
(Raylib.Rectangle.t @-> ptr string @-> int @-> ptr int @-> ptr int @-> int
175-
@-> returning int)
174+
(Raylib.Rectangle.t
175+
@-> const (ptr string)
176+
@-> int @-> ptr int @-> ptr int @-> int @-> returning int)
176177

177178
(* Message Box control, displays a message *)
178179
let _message_box =

0 commit comments

Comments
 (0)