[Gretl-devel] C (helper) routines for Markov switching