]> www.ginac.de Git - ginac.git/blobdiff - ginac/function.pl
- changed behaviour of numeric::is_rational() and added numeric::is_cinteger()
[ginac.git] / ginac / function.pl
index b55845a3a16a0b107eba6225267f5fb0cf37ad03..a55daa47d0fd2edaa5b41614fdd451f5538bbaea 100755 (executable)
@@ -44,7 +44,7 @@ END_OF_DECLARE_FUNCTION_MACRO_NAMESPACE
 $declare_function_macro_no_namespace=generate(
     <<'END_OF_DECLARE_FUNCTION_MACRO_NO_NAMESPACE','ex const & p${N}','p${N}');
 #define DECLARE_FUNCTION_${N}P(NAME) \\
-extern unsigned function_index_##NAME; \\
+extern const unsigned function_index_##NAME; \\
 inline function NAME(${SEQ1}) { \\
     return function(function_index_##NAME, ${SEQ2}); \\
 }