#include <nrnpython.h>#include <stdio.h>#include <InterViews/resource.h>#include <nrnoc2iv.h>#include <nrnpy_reg.h>#include <hoccontext.h>#include <hocstr.h>
Functions | |
| void | nrnpython_real () |
| void | nrnpython_start (int) |
| int | hoc_get_line () |
| char * | neuronhome_forward () |
| void | rl_stuff_char (int) |
| void | nrnpy_augment_path () |
| void | nrnpython_ensure_threadstate () |
| int | nrnpy_pyrun (char *) |
Variables | |
| HocStr * | hoc_cbufstr |
| char * | hoc_ctp |
| FILE * | hoc_fin |
| char * | hoc_promptstr |
| int | nrn_global_argc |
| char ** | nrn_global_argv |
| int(* | p_nrnpy_pyrun )(char *) |
| int hoc_get_line | ( | ) |
References HocStr::buf, CBUFSIZE, CHAR, hoc_audit_command(), hoc_check_intupt(), hoc_execerror(), hoc_fgets_unlimited(), hoc_notify_value(), hoc_pipegets(), hoc_pipegets_need(), hocstr_resize(), n, run_til_stdin(), and HocStr::size.
Referenced by Getc(), and hoc_yyparse().

| char* neuronhome_forward | ( | ) |
References buf, emalloc, hoc_back2forward(), hoc_forward2back(), and neuron_home.
Referenced by nrnpy_augment_path().

| void nrnpy_augment_path | ( | ) |
References assert, buf, and neuronhome_forward().
Referenced by inithoc(), and nrnpython_start().

| int nrnpy_pyrun | ( | char * | fname | ) |
| void nrnpython_ensure_threadstate | ( | ) |
Referenced by nrnpy_pyCallObject(), nrnpython_real(), nrnpython_start(), and Py2Nrn::~Py2Nrn().
| void nrnpython_real | ( | ) |
References gargstr(), HocContextRestore, HocTopContextSet, nrnpython_ensure_threadstate(), and ret.
Referenced by nrnpython_reg().

References arg, fprintf(), hoc_fin, i, nrn_global_argc, nrn_global_argv, nrnpy_augment_path(), nrnpy_pyrun(), nrnpython_ensure_threadstate(), p_nrnpy_pyrun, and rl_stuff_char().
Referenced by nrnpython_reg().

Referenced by nrnpython_start().
| char* hoc_ctp |
| FILE* hoc_fin |
| char* hoc_promptstr |
| char** nrn_global_argv |
| int(* p_nrnpy_pyrun)(char *) |
Referenced by moreinput(), and nrnpython_start().
1.6.3