provide function  SWIG_Scilab_ErrorMsg and testing code in 'contract' directory