14 #define gargstr hoc_gargstr
15 #define getarg hoc_getarg
19 #if defined(__cplusplus)
34 #define HocStruct struct
35 #define HocUnion union
36 #define HocTypedef typedef
43 typedef const char** (*Pfrs)(
void);
48 typedef struct Object** (*Pfro_vp)(
void*);
49 typedef const char** (*Pfrs_vp)(
void*);
66 #define STOP (Inst*) 0
94 #define USERPROPERTY 3
102 #define STKOBJ_UNREF 9
103 #define DYNAMICUNITS 10
104 #define CPLUSOBJECT 16
105 #define JAVAOBJECT 32
107 #define OBJECTALIAS 1
164 #define ISARRAY(arg) (arg->arayinfo != (Arrayinfo*) 0)
168 #if defined(__cplusplus)
169 #define hoc_List struct hoc_Item
172 #define List hoc_List
173 #define Item hoc_Item
234 #if defined(__cplusplus)
282 #if defined(__cplusplus)
287 extern void*
ecalloc(
size_t n,
size_t size);
288 extern void*
erealloc(
void* ptr,
size_t n);
290 #if defined(__cplusplus)
306 #define OPVAL(sym) hoc_objectdata[sym->u.oboff].pval
307 #define OPSTR(sym) hoc_objectdata[sym->u.oboff].ppstr
308 #define OPOBJ(sym) hoc_objectdata[sym->u.oboff].pobj
309 #define OPSECITM(sym) hoc_objectdata[sym->u.oboff].psecitm
310 #define OPLIST(sym) hoc_objectdata[sym->u.oboff].plist
311 #define OPARINFO(sym) hoc_objectdata[sym->u.oboff + 1].arayinfo
315 #define assert(arg) \
321 #define IGNORE(arg) \
326 #define LINTUSE(arg) \
333 #define Strcat cplint = strcat
334 #define Strncat cplint = strncat
335 #define Strcpy cplint = strcpy
336 #define Strncpy cplint = strncpy
337 #define Sprintf cplint = sprintf
338 #define Printf ilint = printf
340 #if defined(__TURBOC__)
345 #define IGNORE(arg) arg
348 #define Strcat strcat
349 #define Strncat strncat
350 #define Strcpy strcpy
351 #define Strncpy strncpy
352 #define Sprintf sprintf
353 #define Printf nrnpy_pr
362 while (errno == EINTR) { \
369 #define ERRCHK(c1) c1
372 #define IFGUI if (hoc_usegui) {
379 #define NOT_PARALLEL_SUB(c1) \
387 extern int init_parallel();
void * erealloc(void *ptr, size_t n)
Objectdata * hoc_objectdata_save(void)
Symlist * hoc_top_level_symlist
struct Object **(* Pfro_vp)(void *)
void * ecalloc(size_t n, size_t size)
const char **(* Pfrs)(void)
Inst * hoc_prog_parse_recover
struct cTemplate cTemplate
struct Object **(* Pfro)(void)
Objectdata * hoc_objectdata
struct Arrayinfo Arrayinfo
Objectdata * hoc_objectdata_restore(Objectdata *)
union Objectdata Objectdata
struct HocSymExtension HocSymExtension
Objectdata * hoc_top_level_data
const char **(* Pfrs_vp)(void *)
Symlist * hoc_built_in_symlist
double(* Pfrd_vp)(void *)
int const size_t const size_t n
HOC interpreter function declarations (included by hocdec.h)
HocStruct hoc_Item * secelm_
HocStruct hoc_Item * itm_me
short cpublic
Note: public is a reserved keyword.
HocStruct Symbol ** ppsym
struct Symbol::@37::@38 rng
HocStruct Object * object_
HocStruct cTemplate * ctemplate
int(* checkpoint)(void **)
void(* destructor)(void *)
HocStruct hoc_Item ** psecitm