#include <string>
#include <vector>
+#include "config.h"
#include "ex.h"
#include "lst.h"
#include "operators.h"
return (FP_cuba) dlsym(module, "compiled_ex");
}
+#elif
+
+FP_dim1 compile(const ex& expr, const symbol& sym)
+{
+ throw std::runtime_error("compile has been disabled because of missing libdl!");
+ return NULL;
+}
+
+FP_cuba compile(const lst& exprs, const lst& syms)
+{
+ throw std::runtime_error("compile has been disabled because of missing libdl!");
+ return NULL;
+}
+
#endif
} // namespace GiNaC
* fast numerical integration. */
/*
- * GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2006 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
#define __GINAC_EXCOMPILER_H__
#include "basic.h"
-#include "config.h"
#include "ex.h"
namespace GiNaC {
-#ifdef HAVE_LIBDL
typedef double (*FP_dim1) (double);
FP_cuba compile(const lst& exprs, const lst& syms);
-#endif
} // namespace GiNaC