$ cat hello.cs
using System;
public class HelloWorld
{
public static void Main(string[] args)
{
Console.WriteLine("Hello Mono World");
}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- SDL2-2.0.6/include/SDL_events.h 2017-09-22 20:50:35.000000000 +0200 | |
+++ SDL2-2.0.9/include/SDL_events.h 2018-10-31 16:06:56.000000000 +0100 | |
@@ -1,6 +1,6 @@ | |
/* | |
Simple DirectMedia Layer | |
- Copyright (C) 1997-2017 Sam Lantinga <[email protected]> | |
+ Copyright (C) 1997-2018 Sam Lantinga <[email protected]> | |
This software is provided 'as-is', without any express or implied | |
warranty. In no event will the authors be held liable for any damages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/tsdl.ml b/src/tsdl.ml | |
index 51112ff..2ee1c0a 100644 | |
--- a/src/tsdl.ml | |
+++ b/src/tsdl.ml | |
@@ -3934,6 +3934,20 @@ module Event = struct | |
let () = seal t | |
end | |
+ module Display_event = struct | |
+ type t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* A Simple Abstract Shmup Game | |
Copyright (C) 2019 Florent Monnier | |
This software is provided "AS-IS", without any express or implied warranty. | |
In no event will the authors be held liable for any damages arising from | |
the use of this software. | |
Permission is granted to anyone to use this software and associated elements | |
for any purpose, including commercial applications, and to alter it and | |
redistribute it freely. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur SDL2-2.0.9/include/begin_code.h SDL2-2.0.10/include/begin_code.h | |
--- SDL2-2.0.9/include/begin_code.h 2018-10-31 16:07:22.000000000 +0100 | |
+++ SDL2-2.0.10/include/begin_code.h 2019-07-25 06:32:36.000000000 +0200 | |
@@ -1,6 +1,6 @@ | |
/* | |
Simple DirectMedia Layer | |
- Copyright (C) 1997-2018 Sam Lantinga <[email protected]> | |
+ Copyright (C) 1997-2019 Sam Lantinga <[email protected]> | |
This software is provided 'as-is', without any express or implied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur SDL2-2.0.10/include/begin_code.h SDL2-2.0.12/include/begin_code.h | |
--- SDL2-2.0.10/include/begin_code.h 2019-07-25 06:32:36.000000000 +0200 | |
+++ SDL2-2.0.12/include/begin_code.h 2020-03-11 02:36:18.000000000 +0100 | |
@@ -1,6 +1,6 @@ | |
/* | |
Simple DirectMedia Layer | |
- Copyright (C) 1997-2019 Sam Lantinga <[email protected]> | |
+ Copyright (C) 1997-2020 Sam Lantinga <[email protected]> | |
This software is provided 'as-is', without any express or implied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/examples/ex_rect.sh b/examples/ex_rect.sh | |
index a5a1492..2d8b14e 100755 | |
--- a/examples/ex_rect.sh | |
+++ b/examples/ex_rect.sh | |
@@ -1,4 +1,5 @@ | |
ocaml bigarray.cma \ | |
+ -I ../src \ | |
sfml_system.cma \ | |
sfml_window.cma \ | |
sfml_graphics.cma \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Mini-demo of using Cairo2 and SDL2 together in OCaml | |
Copyright (C) 2020 Florent Monnier | |
This software is provided "AS-IS", without any express or implied warranty. | |
In no event will the authors be held liable for any damages arising from | |
the use of this software. | |
Permission is granted to anyone to use this software for any purpose, | |
including commercial applications, and to alter it and redistribute it freely. | |
*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/batDynArray.ml b/src/batDynArray.ml | |
index c1d92834..5caa4840 100644 | |
--- a/src/batDynArray.ml | |
+++ b/src/batDynArray.ml | |
@@ -574,7 +574,7 @@ let split a = | |
let combine a1 a2 = | |
if a1.len <> a2.len then | |
- invalid_arg "DynArray.iter2i"; | |
+ Stdlib.invalid_arg "DynArray.iter2i"; |