NEURON
macmain.cpp File Reference

Go to the source code of this file.

Functions

int ivocmain (int, const char **, const char **)
 Main entrypoint function into the HOC interpeter. More...
 
int main ()
 

Function Documentation

◆ ivocmain()

int ivocmain ( int  argc,
const char **  argv,
const char **  env 
)

Main entrypoint function into the HOC interpeter.

This function simply calls ivocmain_session with the start_session = 1.

Note
This is part of NEURON's public interface
env argument should not be used as it might become invalid
Parameters
argcargument count as found in C/C++ main functions
argvargument vector as found in C/C++ main functions
envenvironment variable array as optionally found in main functions.
Returns
0 on success, otherwise error code.

Definition at line 417 of file ivocmain.cpp.

◆ main()

int main ( )

Definition at line 5 of file macmain.cpp.