00001 /*-----------------------------------------------------------------------------------*/ 00002 /* INRIA 2006 */ 00003 /* Allan CORNET */ 00004 /*-----------------------------------------------------------------------------------*/ 00005 #include "xscion.h" 00006 /*-----------------------------------------------------------------------------------*/ 00007 int INXscilab=0; 00008 /*-----------------------------------------------------------------------------------*/ 00009 #ifdef _MSC_VER 00010 extern void switch_rlgets (int i); 00011 #endif 00012 /*-----------------------------------------------------------------------------------*/ 00013 int C2F(xscion) (int *i) 00014 { 00015 *i = INXscilab; 00016 return (0); 00017 } 00018 /*-----------------------------------------------------------------------------------*/ 00019 void SetXsciOn(void) 00020 { 00021 #ifdef _MSC_VER 00022 switch_rlgets (1); 00023 #endif 00024 INXscilab = 1; 00025 } 00026 /*-----------------------------------------------------------------------------------*/ 00027 int getINXscilab(void) 00028 { 00029 return INXscilab; 00030 } 00031 /*-----------------------------------------------------------------------------------*/
1.5.1