[][src]Function glk::init

pub fn init(glk: Box<dyn Api>)

Install a Glk API handler for the current thread. The crate takes ownership of the provided

  • handlers object. To free it (and restore the dummy implementation), call reset().