module Luc4c:Lucky C API: defines functions to be used by luc4c_stubs.h/c.sig
..end
nb: luc2c generates C code that uses functions defined in luc4c_stubs.h/c
nb2 : this mli file is actually useless, as the only exported functions
are the ones that are (Callback.)registered in luc4c.ml...
typelucky_process =
int
type
step_mode =
| |
StepInside |
| |
StepEdges |
| |
StepVertices |
The default step mode is StepInside.
exception MakeError
val make : string -> string -> lucky_process
val kill_lucky_process : lucky_process -> unit
val set_input_bool : lucky_process -> string -> bool -> unit
val set_input_int : lucky_process -> string -> int -> unit
val set_input_float : lucky_process -> string -> float -> unit
val step : lucky_process -> step_mode -> unit
val get_output_bool : lucky_process -> string -> bool
val get_output_int : lucky_process -> string -> int
val get_output_float : lucky_process -> string -> float
val set_efficient_mode : unit -> unit
val set_fair_mode : unit -> unit
val set_seed : int -> unit
val set_precision : int -> unit
val set_verbose : lucky_process -> int -> unit