1 #include <../../nrnconf.h>
19 #define diag(s) hoc_execerror(s, (char*) 0);
46 for (
i = 0;
i < aray->
nsub;
i++)
47 total *= (aray->
sub)[
i];
48 aray->
a_varn = (
unsigned*)
ecalloc((
unsigned) total,
sizeof(unsigned));
49 sym->
s_varn = (unsigned) total;
107 if (sp->
type == VAR) {
135 if (
OPARINFO(sp)->a_varn != (
unsigned*) 0)
136 free((
char*) (
OPARINFO(sp)->a_varn));
211 diag(
"matrix coefficients cannot be released");
266 diag(
"indeterminate system");
274 for (el =
rowst[
i]; el != (
struct elm*) 0; el = el2) {
bool is_array(const Symbol &sym)
int hoc_araypt(Symbol *, int)
void hoc_execerror(const char *s1, const char *s2)
void * ecalloc(size_t n, size_t size)
static void * emalloc(size_t size)
static void eqn_side(int lhs)
static void eqn_space(void)
static void set_varble(void)