makefile now building and exec crashing

This commit is contained in:
mike dupont 2023-12-10 15:07:39 -05:00
parent d739470198
commit d239bc94d2

19
caml_src/step.ml Normal file
View file

@ -0,0 +1,19 @@
(* Copyright (C) 2017 Sio Kreuzer. All Rights Reserved. *)
let init () =
Printf.printf "Initializing Game module...\n";
flush stdout;;
let shutdown () =
Printf.printf "Shutting down Game module...\n";
flush stdout;;
let step () =
(* Printf.printf "bla\n"; *)
flush stdout;;
(* main/init *)
let () =
Callback.register "init_fn" init;
Callback.register "shutdown_fn" shutdown;
Callback.register "step_fn" step;;