hocdec.h File Reference

#include "hocassrt.h"
#include <string.h>
Include dependency graph for hocdec.h:
This graph shows which files directly or indirectly include this file:

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

Symbolhoc_install ()
Symbol ** hoc_lookup ()
double hoc_xpop ()
Symbolhoc_spop ()
double * getarg ()
char * gargstr ()
voidnrn_cacheline_alloc (void **memptr, size_t size)
voidnrn_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

Insthoc_pc
Objectdata * hoc_objectdata
int hoc_usegui
int nrn_istty_
int parallel_sub

Define Documentation

#define CPLUSOBJECT   16
#define ecalloc ( arg1,
arg2   )     hoc_Ecalloc(arg1,arg2), hoc_malchk()
#define emalloc ( arg   )     hoc_Emalloc(arg), hoc_malchk()
#define ENDGUI   }
#define erealloc ( arg1,
arg2   )     hoc_Erealloc(arg1,arg2), hoc_malchk()
#define ERRCHK ( c1   )     c1
#define Fprintf   fprintf
#define HocStruct   struct
#define HocTypedef   typedef
#define HocUnion   union
#define IFGUI   if (hoc_usegui){
#define IGNORE ( arg   )     arg
#define INCLUDEHOCH   1
#define ISARRAY ( arg   )     (arg->arayinfo != (Arrayinfo *)0)
#define Item   hoc_Item
#define JAVAOBJECT   32
#define LINTUSE ( arg   ) 
#define List   hoc_List
#define NOT_PARALLEL_SUB ( c1   )     {if (!parallel_sub) c1}
#define NOTUSER   0
#define OBJECTALIAS   1
#define OBJECTTMP   8
#define OOP   1
#define OPARINFO ( sym   )     hoc_objectdata[sym->u.oboff + 1].arayinfo
#define OPLIST ( sym   )     hoc_objectdata[sym->u.oboff].plist
#define OPOBJ ( sym   )     hoc_objectdata[sym->u.oboff].pobj
#define OPSECITM ( sym   )     hoc_objectdata[sym->u.oboff].psecitm
#define OPSTR ( sym   )     hoc_objectdata[sym->u.oboff].ppstr
#define OPVAL ( sym   )     hoc_objectdata[sym->u.oboff].pval
#define Printf   printf
#define Sprintf   sprintf
#define STOP   (Inst *)0
#define Strcat   strcat
#define Strcpy   strcpy
#define Strncat   strncat
#define Strncpy   strncpy
#define SYMBOL   7
#define USERDOUBLE   2
#define USERFLOAT   4
#define USERINT   1
#define USERPROPERTY   3
#define VARALIAS   2

Typedef Documentation

typedef struct Arrayinfo Arrayinfo
typedef union Datum Datum
typedef struct hoc_Item hoc_List
typedef union Inst Inst
typedef double(* Pfrd)()
typedef int(* Pfri)()
typedef struct Object**(* Pfro)()
typedef char**(* Pfrs)()
typedef struct Proc Proc
typedef struct Symbol Symbol
typedef struct Symlist Symlist
typedef char* Upoint

Function Documentation

char* gargstr (  ) 
double* getarg (  ) 
char* * hoc_Ecalloc (  ) 
char* hoc_Emalloc (  ) 
char* * * hoc_Erealloc (  ) 
Symbol* hoc_install (  ) 
Symbol* * hoc_lookup (  ) 
Objectdata* hoc_objectdata_restore (  ) 
Objectdata* hoc_objectdata_save (  ) 
Symbol* hoc_spop (  ) 
double hoc_xpop (  ) 
void* nrn_cacheline_alloc ( void **  memptr,
size_t  size 
)

References fprintf(), hoc_Emalloc(), and hoc_malchk().

Here is the call graph for this function:

void* nrn_cacheline_calloc ( void **  memptr,
size_t  nmemb,
size_t  size 
)

References hoc_Ecalloc(), hoc_malchk(), i, n, and nrn_cacheline_alloc().

Here is the call graph for this function:


Variable Documentation

Objectdata* hoc_objectdata

Referenced by ivocmain().

OCSMALL

Generated on Mon Jun 13 08:10:30 2011 for NEURON by  doxygen 1.6.3