hocdec.h File Reference
#include "hocassrt.h"
#include <string.h>
Go to the source code of this file.
Classes |
| union | Inst |
| struct | Arrayinfo |
| struct | Proc |
| struct | Symlist |
| struct | HocSymExtension |
| struct | Symbol |
| union | Datum |
| struct | IntFunc |
| struct | DoubScal |
| struct | DoubVec |
| struct | HocParmLimits |
| struct | HocStateTolerance |
| struct | HocParmUnits |
Defines |
| #define | INCLUDEHOCH 1 |
| #define | OOP 1 |
| #define | HocStruct struct |
| #define | HocUnion union |
| #define | HocTypedef typedef |
| #define | STOP (Inst *)0 |
| #define | NOTUSER 0 |
| #define | USERINT 1 |
| #define | USERDOUBLE 2 |
| #define | USERPROPERTY 3 |
| #define | USERFLOAT 4 |
| #define | SYMBOL 7 |
| #define | OBJECTTMP 8 |
| #define | CPLUSOBJECT 16 |
| #define | JAVAOBJECT 32 |
| #define | OBJECTALIAS 1 |
| #define | VARALIAS 2 |
| #define | ISARRAY(arg) (arg->arayinfo != (Arrayinfo *)0) |
| #define | List hoc_List |
| #define | Item hoc_Item |
| #define | emalloc(arg) hoc_Emalloc(arg), hoc_malchk() |
| #define | ecalloc(arg1, arg2) hoc_Ecalloc(arg1,arg2), hoc_malchk() |
| #define | erealloc(arg1, arg2) hoc_Erealloc(arg1,arg2), hoc_malchk() |
| #define | OPVAL(sym) hoc_objectdata[sym->u.oboff].pval |
| #define | OPSTR(sym) hoc_objectdata[sym->u.oboff].ppstr |
| #define | OPOBJ(sym) hoc_objectdata[sym->u.oboff].pobj |
| #define | OPSECITM(sym) hoc_objectdata[sym->u.oboff].psecitm |
| #define | OPLIST(sym) hoc_objectdata[sym->u.oboff].plist |
| #define | OPARINFO(sym) hoc_objectdata[sym->u.oboff + 1].arayinfo |
| #define | IGNORE(arg) arg |
| #define | LINTUSE(arg) |
| #define | Strcat strcat |
| #define | Strncat strncat |
| #define | Strcpy strcpy |
| #define | Strncpy strncpy |
| #define | Sprintf sprintf |
| #define | Printf printf |
| #define | Fprintf fprintf |
| #define | ERRCHK(c1) c1 |
| #define | IFGUI if (hoc_usegui){ |
| #define | ENDGUI } |
| #define | NOT_PARALLEL_SUB(c1) {if (!parallel_sub) c1} |
Typedefs |
| typedef int(* | Pfri )() |
| typedef double(* | Pfrd )() |
| typedef struct Object **(* | Pfro )() |
| typedef char **(* | Pfrs )() |
| typedef union Inst | Inst |
| typedef struct Arrayinfo | Arrayinfo |
| typedef struct Proc | Proc |
| typedef struct Symlist | Symlist |
| typedef char * | Upoint |
| typedef struct HocSymExtension | HocSymExtension |
| typedef struct Symbol | Symbol |
| typedef struct hoc_Item | hoc_List |
| typedef union Datum | Datum |
Functions |
| Symbol * | hoc_install () |
| Symbol ** | hoc_lookup () |
| double | hoc_xpop () |
| Symbol * | hoc_spop () |
| double * | getarg () |
| char * | gargstr () |
| void * | nrn_cacheline_alloc (void **memptr, size_t size) |
| void * | nrn_cacheline_calloc (void **memptr, size_t nmemb, size_t size) |
| char * | hoc_Emalloc () |
| char ** | hoc_Ecalloc () |
| char *** | hoc_Erealloc () |
| Objectdata * | hoc_objectdata_save () |
| Objectdata * | hoc_objectdata_restore () |
Variables |
| Inst * | hoc_pc |
| Objectdata * | hoc_objectdata |
| int | hoc_usegui |
| int | nrn_istty_ |
| int | parallel_sub |
Define Documentation
| #define ecalloc |
( |
arg1, |
|
|
arg2 |
|
) |
hoc_Ecalloc(arg1,arg2), hoc_malchk() |
| #define emalloc |
( |
arg |
|
) |
hoc_Emalloc(arg), hoc_malchk() |
| #define erealloc |
( |
arg1, |
|
|
arg2 |
|
) |
hoc_Erealloc(arg1,arg2), hoc_malchk() |
| #define HocTypedef typedef |
| #define IGNORE |
( |
arg |
|
) |
arg |
| #define ISARRAY |
( |
arg |
|
) |
(arg->arayinfo != (Arrayinfo *)0) |
Typedef Documentation
| typedef struct Object**(* Pfro)() |
Function Documentation
| char* * * hoc_Erealloc |
( |
|
) |
|
Referenced by class2oc(), hoc_decl(), hoc_execstr(), hoc_getsym(), hoc_install_var(), hoc_last_init(), hoc_parse_expr(), hoc_parse_stmt(), hoc_register_var(), hoc_spinit(), install_vector_method(), KSChan::installsym(), java2nrn_class(), make_pointprocess(), and register_mech().
Referenced by _hh_reg_(), bbs_done(), class2oc(), BBSImpl::execute_helper(), fit_praxis(), HocCommand::func_call(), GrGlyph_reg(), hoc_allobjects(), hoc_install_hoc_obj(), hoc_last_init(), hoc_load_file(), hoc_name_declared(), hoc_register_limits(), hoc_register_tolerance(), hoc_register_units(), hoc_spinit(), hoc_var_extra(), ion_charge(), ion_reg(), ion_register(), java2nrn_class(), KSChan_reg(), make_mechanism(), make_pointprocess(), Matrix_reg(), nernst(), nrn_get_mechtype(), nrniv_recalc_ptrs(), nrnpy_hoc(), nrnpython_reg_real(), OcList::OcList(), OcList_reg(), OcPointer_reg(), register_mech(), SectionRef_reg(), SaveState::ssi_def(), BBSImpl::subworld_worker_execute(), and Vector_reg().
| Objectdata* hoc_objectdata_restore |
( |
|
) |
|
| Objectdata* hoc_objectdata_save |
( |
|
) |
|
| void* nrn_cacheline_alloc |
( |
void ** |
memptr, |
|
|
size_t |
size | |
|
) |
| | |
| void* nrn_cacheline_calloc |
( |
void ** |
memptr, |
|
|
size_t |
nmemb, |
|
|
size_t |
size | |
|
) |
| | |
Variable Documentation