1 #include <../../nrnconf.h>
20 #define diag(s) hoc_execerror(s, (char*) 0);
27 #if defined(__TURBOC__)
32 #if defined(__TURBOC__)
53 for (
i = 0;
i < aray->
nsub;
i++)
54 total *= (aray->
sub)[
i];
55 aray->
a_varn = (
unsigned*)
ecalloc((
unsigned) total,
sizeof(unsigned));
56 sym->
s_varn = (unsigned) total;
102 execerror(
"illegal equation name", (
pc - 2)->sym->name);
114 if (sp->
type == VAR) {
142 if (
OPARINFO(sp)->a_varn != (
unsigned*) 0)
143 free((
char*) (
OPARINFO(sp)->a_varn));
183 #if defined(__TURBOC__)
190 #if defined(__TURBOC__)
214 #if defined(__TURBOC__)
227 diag(
"matrix coefficients cannot be released");
282 diag(
"indeterminate system");
290 for (el =
rowst[
i]; el != (
struct elm*) 0; el = el2) {
int araypt(Symbol *sp, int type)
void hoc_execerror(const char *, const char *)
void * ecalloc(size_t n, size_t size)
char * emalloc(unsigned n)
static void eqn_side(int lhs)
static void eqn_space(void)
static void set_varble(void)