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

Go to the source code of this file.

Macros

#define assert(ex)
 

Functions

void hoc_execerror (const char *, const char *)
 

Macro Definition Documentation

◆ assert

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

Definition at line 32 of file hocassrt.h.

Function Documentation

◆ hoc_execerror()

void hoc_execerror ( const char *  s,
const char *  t 
)

Definition at line 754 of file hoc.cpp.