#include <../../nrnconf.h>
#include <../nrnpython/nrnpython_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <InterViews/resource.h>
#include "nrnoc2iv.h"
#include "classreg.h"
#include "nonvintblock.h"
#include "nrnmpi.h"
#include <algorithm>
#include <cctype>
Go to the source code of this file.
◆ hoc_back2forward()
| char* hoc_back2forward |
( |
char * |
s | ) |
|
◆ hoc_forward2back()
| char* hoc_forward2back |
( |
char * |
s | ) |
|
◆ nrnpython()
◆ nrnpython_real()
◆ nrnpython_reg()
◆ nrnpython_reg_real()
| void nrnpython_reg_real |
( |
| ) |
|
◆ nrnpython_start()
defined(NRNPYTHON_DYNAMICLOAD)
Start the Python interpreter.
- b Mode of operation, can be 0 (finalize), 1 (initialize), or 2 (execute commands/scripts)
- Returns
- 0 on success, non-zero on error
There is an internal state variable that stores whether or not Python has been initialized. Mode 1 only has an effect if Python is not initialized, while the other modes only take effect if Python is already initialized.
defined(NRNPYTHON_DYNAMICLOAD)
- b Mode of operation, can be 0 (finalize), 1 (initialize), or 2 (execute commands/scripts)
- Returns
- 0 on success, non-zero on error
There is an internal state variable that stores whether or not Python has been initialized. Mode 1 only has an effect if Python is not initialized, while the other modes only take effect if Python is already initialized.
Definition at line 140 of file nrnpython.cpp.
◆ p_cons()
◆ p_destruct()
◆ nrn_is_python_extension
| int nrn_is_python_extension |
◆ nrn_nopython
◆ nrnpy_nositeflag
◆ nrnpy_pyexe
◆ nrnpy_pyhome
◆ nrnpy_site_problem_p
| int* nrnpy_site_problem_p |
◆ p_members
◆ p_nrnpython_real
| void(* p_nrnpython_real) () |
|
static |
◆ p_nrnpython_reg_real
| void(* p_nrnpython_reg_real) () |
|
static |
◆ p_nrnpython_start
| int(* p_nrnpython_start) (int) |