NEURON
hocassrt.h File Reference
#include <assert.h>
#include <stdio.h>

Go to the source code of this file.

Macros

#define assert(ex)   {if (!(ex)){fprintf(stderr,"Assertion failed: file %s, line %d\n", __FILE__,__LINE__);hoc_execerror("ex", (char *)0);}}
 

Functions

void hoc_execerror (const char *, const char *)
 

Macro Definition Documentation

◆ assert

#define assert (   ex)    {if (!(ex)){fprintf(stderr,"Assertion failed: file %s, line %d\n", __FILE__,__LINE__);hoc_execerror("ex", (char *)0);}}

Definition at line 26 of file hocassrt.h.

Function Documentation

◆ hoc_execerror()

void hoc_execerror ( const char *  ,
const char *   
)

Definition at line 741 of file hoc.cpp.