makefile now building and exec crashing
This commit is contained in:
parent
d739470198
commit
d239bc94d2
1 changed files with 19 additions and 0 deletions
19
caml_src/step.ml
Normal file
19
caml_src/step.ml
Normal 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;;
|
Loading…
Add table
Add a link
Reference in a new issue