X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=a7ec33dcdb49fe37483ddbeaf646a6161f92ba03;hp=2d32f0e7d33e97f593d5ba644e2b925fe0c0d9fa;hb=025d39c4c23c08e0890dc4d5e1afd0821814860d;hpb=afdd7fa8c6c0a587f7c80789198551383e8beb7b diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index 2d32f0e7..a7ec33dc 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -2,7 +2,7 @@ * * Global definitions for ginsh. * - * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,8 +27,11 @@ #include #include +#include #include +using namespace std; + #ifdef HAVE_READLINE_READLINE_H extern "C" { #include @@ -41,11 +44,13 @@ extern "C" { } #endif +#ifdef IN_GINAC +#include "ginac.h" +#else #include +#endif -#ifndef NO_GINAC_NAMESPACE using namespace GiNaC; -#endif // ndef NO_GINAC_NAMESPACE // yacc stack type #define YYSTYPE ex @@ -68,4 +73,7 @@ extern char **file_list; typedef map sym_tab; extern sym_tab syms; +// Type of symbols to generate (real or complex) +extern unsigned symboltype; + #endif