87 #define NRN_BUFSIZE 8192
89 #if MAX_PATH > NRN_BUFSIZE
91 #define NRN_BUFSIZE MAX_PATH
106 #define ITEM0 (Item*) 0
107 #define LIST0 (List*) 0
109 #define ITERATE(itm, lst) for (itm = (lst)->next; itm != (lst); itm = itm->next)
158 #define SYM0 (Symbol*) 0
160 extern std::map<std::string, const char*>
extdef_rand;
166 #define SYM(q) ((q)->element.sym)
167 #define STR(q) ((q)->element.str)
168 #define ITM(q) ((q)->element.itm)
169 #define LST(q) ((q)->element.lst)
190 #define NEGATIVE 0400
199 #define EXTDEF 0100000
201 #define UNITDEF 0400000L
202 #define EXTDEF2 01000000L
203 #define nmodlCONST 02000000L
204 #define EXTDEF3 04000000L
205 #define INTGER 010000000L
206 #define EXTDEF4 020000000L
207 #define EXTDEF5 040000000L
208 #define EXTDEF_RANDOM 0600000000L
209 #define EXPLICIT_DECL 01
216 #define NRNPRANGEIN 020
217 #define NRNPRANGEOUT 040
218 #define NRNGLOBAL 0100
219 #define NRNSTATIC 0200
224 #define NRNPOINTER 04000
225 #define IONCONC 010000
226 #define NRNBBCOREPOINTER 020000
227 #define NMODLRANDOM 040000
230 #define IONCONC_IMPLICIT 040000
233 extern char *
emalloc(
unsigned),
286 #define assert(arg) \
294 #define Fprintf ilint = fprintf
295 #define Fclose ilint = fclose
296 #define Fflush ilint = fflush
297 #define Printf ilint = printf
298 #define Strcpy clint = strcpy
299 #define Strcat clint = strcat
300 #define Insertstr qlint = insertstr
301 #define Insertsym qlint = insertsym
302 #define Linsertsym qlint = linsertsym
303 #define Linsertstr qlint = linsertstr
304 #define Lappendsym qlint = lappendsym
305 #define Lappendstr qlint = lappendstr
306 #define Lappenditem qlint = lappenditem
307 #define Lappendlst qlint = lappendlst
308 #define IGNORE(arg) \
313 #define Free(arg) free((char*) (arg))
315 #define Fprintf fprintf
316 #define Fclose fclose
317 #define Fflush fflush
318 #define Printf printf
319 #define Strcpy strcpy
320 #define Strcat strcat
321 #define Insertstr insertstr
322 #define Insertsym insertsym
323 #define Linsertsym linsertsym
324 #define Linsertstr linsertstr
325 #define Lappendsym lappendsym
326 #define Lappendstr lappendstr
327 #define Lappenditem lappenditem
328 #define Lappendlst lappendlst
329 #define IGNORE(arg) arg
330 #define Free(arg) free((void*) (arg))
static HocParmLimits limits[]
Item * putintoken(const char *s, short type)
std::map< std::string, const char * > extdef_rand
Item * lappendsym(List *list, Symbol *sym)
Item * insertsym(List *list, Symbol *sym)
Item * lappenditem(List *list, Item *item)
Item * linsertstr(List *list, const char *str)
void verbatim_adjust(char *q)
Symbol * ifnew_parminstall(const char *name, const char *num, const char *units, const char *limits)
Item * lappendstr(List *list, const char *str)
char finname[NRN_BUFSIZE]
char * stralloc(const char *, char *)
Item * insertstr(Item *item, const char *str)
Item * lappendlst(List *list, List *lst)
Symbol * copylocal(Symbol *)
Symbol * lookup(const char *)
Item * linsertsym(List *list, Symbol *sym)
Symbol * install(const char *, int)
void SprintfAsrt(char(&buf)[N], const char *fmt, Args &&... args)
assert if the Sprintf format data does not fit into buf
int Sprintf(char(&buf)[N], const char *fmt, Args &&... args)
Redirect sprintf to snprintf if the buffer size can be deduced.