Diff for /rpl/src/interface_cas.cpp between versions 1.1 and 1.3

version 1.1, 2011/06/23 13:03:39 version 1.3, 2011/06/24 09:10:37
Line 19 Line 19
 ================================================================================  ================================================================================
 */  */
   
   
   #include "giac.h"
   
   #undef PACKAGE
   #undef PACKAGE_NAME
   #undef PACKAGE_STRING
   #undef PACKAGE_TARNAME
   #undef PACKAGE_VERSION
   #undef VERSION
   
 extern "C"  extern "C"
 {  {
 #   undef _GNU_SOURCE  #   define __RPLCAS
 #   include "rpl-conv.h"  #   include "rpl-conv.h"
 }  }
   
 #include <iostream>  #include <iostream>
 #include "giac.h"  
   
 using namespace std;  using namespace std;
   using namespace giac;
   
   
 /*  /*
 ================================================================================  ================================================================================
Line 42  using namespace std; Line 53  using namespace std;
 ================================================================================  ================================================================================
 */  */
   
 unsigned char *  void
 interface_cas(struct_processus *s_etat_processus,  interface_cas(struct_processus *s_etat_processus,
         unsigned char *commande, unsigned char *argument)          enum t_rplcas_commandes commande)
 {  {
     gen e(string("x^2-1"));      unsigned char           *argument_1;
     cout << factor(e) << endl;  
       switch(commande)
       {
           case RPLCAS_LIMITE:
           {
               break;
           }
   
           gen e(string(reinterpret_cast<const char *>(argument_1)),
                   giac::context0);
       }
   
     return(NULL);      return;
 }  }
   
 // vim: ts=4  // vim: ts=4

Removed from v.1.1  
changed lines
  Added in v.1.3


CVSweb interface <joel.bertrand@systella.fr>