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 163 #define ISARRAY(arg) (arg->arayinfo != (Arrayinfo *)0) 167 #if defined(__cplusplus) 168 #define hoc_List struct hoc_Item 171 #define List hoc_List 172 #define Item hoc_Item 209 int (*checkpoint)(
void**);
233 #if defined(__cplusplus) 280 #if defined(__cplusplus) 285 extern void*
ecalloc(
size_t n,
size_t size);
288 #if defined(__cplusplus) 304 #define OPVAL(sym) hoc_objectdata[sym->u.oboff].pval 305 #define OPSTR(sym) hoc_objectdata[sym->u.oboff].ppstr 306 #define OPOBJ(sym) hoc_objectdata[sym->u.oboff].pobj 307 #define OPSECITM(sym) hoc_objectdata[sym->u.oboff].psecitm 308 #define OPLIST(sym) hoc_objectdata[sym->u.oboff].plist 309 #define OPARINFO(sym) hoc_objectdata[sym->u.oboff + 1].arayinfo 313 #define assert(arg) {if (arg) ;} 315 #define IGNORE(arg) {if(arg);} 316 #define LINTUSE(arg) {if(arg);} 319 #define Strcat cplint = strcat 320 #define Strncat cplint = strncat 321 #define Strcpy cplint = strcpy 322 #define Strncpy cplint = strncpy 323 #define Sprintf cplint = sprintf 324 #define Printf ilint = printf 326 #if defined(__TURBOC__) 331 #define IGNORE(arg) arg 334 #define Strcat strcat 335 #define Strncat strncat 336 #define Strcpy strcpy 337 #define Strncpy strncpy 338 #define Sprintf sprintf 339 #define Printf nrnpy_pr 345 #define ERRCHK(c1) {errno=EINTR;while(errno==EINTR){errno=0;c1}} 348 #define ERRCHK(c1) c1 351 #define IFGUI if (hoc_usegui){ 358 #define NOT_PARALLEL_SUB(c1) {if (!parallel_sub) c1} 362 extern int init_parallel( );
void * ecalloc(size_t n, size_t size)
struct Arrayinfo Arrayinfo
Symlist * hoc_built_in_symlist
void * erealloc(void *ptr, size_t n)
Objectdata * hoc_objectdata_save(void)
Objectdata * hoc_top_level_data
const char **(* Pfrs_vp)(void *)
struct Object **(* Pfro_vp)(void *)
struct Object **(* Pfro)(void)
struct HocSymExtension HocSymExtension
int const size_t const size_t n
HocStruct Symbol ** ppsym
static void destructor(void *v)
union Objectdata Objectdata
HocStruct hoc_Item * itm_me
double(* Pfrd_vp)(void *)
HocStruct hoc_Item * secelm_
Objectdata * hoc_objectdata_restore(Objectdata *)
const char **(* Pfrs)(void)
HocStruct Object * object_
Inst * hoc_prog_parse_recover
struct cTemplate cTemplate
short cpublic
Note: public is a reserved keyword.
HocStruct hoc_Item ** psecitm
HocStruct cTemplate * ctemplate
Objectdata * hoc_objectdata
Symlist * hoc_top_level_symlist
Neuron/Java Interface code.
HOC interpreter function declarations (included by hocdec.h)