![]() |
NEURON
|
#include <../../nrnconf.h>#include <stdio.h>#include <InterViews/resource.h>#include <nrnoc2iv.h>#include <classreg.h>#include <nrnpython.h>#include <hoccontext.h>#include "nrnpy_utils.h"#include "parse.hpp"#include "nrnmpi.h"Go to the source code of this file.
Classes | |
| struct | NPySecObj |
| class | Py2Nrn |
Functions | |
| void | hoc_nopop () |
| void | hoc_pop_defer () |
| Object * | hoc_new_object (Symbol *, void *) |
| int | hoc_stack_type () |
| char ** | hoc_strpop () |
| Object ** | hoc_objpop () |
| Object * | hoc_pop_object () |
| void | hoc_tobj_unref (Object **) |
| int | hoc_ipop () |
| PyObject * | nrnpy_hoc2pyobject (Object *) |
| PyObject * | hocobj_call_arg (int) |
| Object * | nrnpy_pyobject_in_obj (PyObject *) |
| int | nrnpy_ho_eq_po (Object *, PyObject *) |
| char * | nrnpyerr_str () |
| Full python traceback error message returned as string. More... | |
| static void * | save_thread () |
| static void | restore_thread (void *g) |
| NPySecObj * | newpysechelp (Section *sec) |
| void | nrnpython_reg_real () |
| PyObject * | nrnpy_ho2po (Object *) |
| void | nrnpy_decref_defer (PyObject *) |
| PyObject * | nrnpy_pyCallObject (PyObject *, PyObject *) |
| Object * | nrnpy_po2ho (PyObject *) |
| static void | py2n_component (Object *, Symbol *, int, int) |
| static void | hpoasgn (Object *, int) |
| static double | praxis_efun (Object *, Object *) |
| static int | hoccommand_exec (Object *) |
| static int | hoccommand_exec_strret (Object *, char *, int) |
| static void | grphcmdtool (Object *, int, double, double, int) |
| static double | func_call (Object *, int, int *) |
| static Object * | callable_with_args (Object *, int) |
| static double | guigetval (Object *) |
| static void | guisetval (Object *, double) |
| static int | guigetstr (Object *, char **) |
| static char * | po2pickle (Object *, size_t *size) |
| static Object * | pickle2po (char *, size_t size) |
| static char * | call_picklef (char *, size_t size, int narg, size_t *retsize) |
| static Object * | py_alltoall_type (int, int) |
| static int | pysame (Object *, Object *) |
| static void * | p_cons (Object *) |
| static void | p_destruct (void *v) |
| static void | call_python_with_section (Object *pyact, Section *sec) |
| static void * | opaque_obj2pyobj (Object *ho) |
| static PyObject * | hoccommand_exec_help1 (PyObject *po) |
| static PyObject * | hoccommand_exec_help (Object *ho) |
| static void | setpickle () |
| static char * | pickle (PyObject *p, size_t *size) |
| static PyObject * | unpickle (char *s, size_t size) |
| int * | mk_displ (int *cnts) |
| static PyObject * | char2pylist (char *buf, int np, int *cnt, int *displ) |
|
static |
Definition at line 831 of file nrnpy_p2h.cpp.
Definition at line 102 of file nrnpy_p2h.cpp.
Definition at line 558 of file nrnpy_p2h.cpp.
Definition at line 885 of file nrnpy_p2h.cpp.
Definition at line 592 of file nrnpy_p2h.cpp.
Definition at line 534 of file nrnpy_p2h.cpp.
Definition at line 678 of file nrnpy_p2h.cpp.
|
static |
Definition at line 649 of file nrnpy_p2h.cpp.
Definition at line 665 of file nrnpy_p2h.cpp.
| int hoc_ipop | ( | ) |
Definition at line 465 of file hoc_oop.cpp.
| void hoc_nopop | ( | ) |
Definition at line 488 of file nrnpy_p2h.cpp.
|
static |
Definition at line 452 of file nrnpy_p2h.cpp.
|
static |
Definition at line 426 of file nrnpy_p2h.cpp.
Definition at line 508 of file nrnpy_p2h.cpp.
| PyObject* hocobj_call_arg | ( | int | ) |
Definition at line 707 of file nrnpy_hoc.cpp.
Definition at line 366 of file nrnpy_p2h.cpp.
Definition at line 876 of file nrnpy_p2h.cpp.
Definition at line 871 of file nrnpy_nrn.cpp.
| void nrnpy_decref_defer | ( | PyObject * | po | ) |
Definition at line 415 of file nrnpy_p2h.cpp.
| PyObject* nrnpy_ho2po | ( | Object * | ) |
Definition at line 503 of file nrnpy_hoc.cpp.
Definition at line 177 of file nrnpy_p2h.cpp.
| PyObject* nrnpy_hoc2pyobject | ( | Object * | ho | ) |
Definition at line 191 of file nrnpy_p2h.cpp.
| Object* nrnpy_po2ho | ( | PyObject * | ) |
Definition at line 524 of file nrnpy_hoc.cpp.
| PyObject * nrnpy_pyCallObject | ( | PyObject * | callable, |
| PyObject * | args | ||
| ) |
if (!p) { char* mes = nrnpyerr_str(); if (mes) { Fprintf(stderr, "%s\n", mes); free(mes); hoc_execerror("Call of Python Callable failed", NULL); } if (PyErr_Occurred()) { PyErr_Print(); // Python process will exit with the error code specified by the SystemExit instance. } }
Definition at line 215 of file nrnpy_p2h.cpp.
| Object* nrnpy_pyobject_in_obj | ( | PyObject * | po | ) |
Definition at line 205 of file nrnpy_p2h.cpp.
| char * nrnpyerr_str | ( | ) |
Full python traceback error message returned as string.
Caller should free the return value if not NULL
Definition at line 773 of file nrnpy_p2h.cpp.
| void nrnpython_reg_real | ( | ) |
Definition at line 133 of file nrnpy_p2h.cpp.
Definition at line 126 of file nrnpy_p2h.cpp.
Definition at line 93 of file nrnpy_p2h.cpp.
Definition at line 98 of file nrnpy_p2h.cpp.
|
static |
Definition at line 722 of file nrnpy_p2h.cpp.
|
static |
Definition at line 762 of file nrnpy_p2h.cpp.
|
static |
Definition at line 741 of file nrnpy_p2h.cpp.
Definition at line 458 of file nrnpy_p2h.cpp.
Definition at line 249 of file nrnpy_p2h.cpp.
Definition at line 982 of file nrnpy_p2h.cpp.
Definition at line 184 of file nrnpy_p2h.cpp.
Definition at line 29 of file nrnpy_p2h.cpp.
|
static |
Definition at line 28 of file nrnpy_p2h.cpp.
|
static |
Definition at line 702 of file nrnpy_p2h.cpp.
|
static |
Definition at line 752 of file nrnpy_p2h.cpp.
|
static |
Definition at line 79 of file nrnpy_p2h.cpp.
|
static |
Definition at line 700 of file nrnpy_p2h.cpp.
|
static |
Definition at line 699 of file nrnpy_p2h.cpp.
|
static |
Definition at line 77 of file nrnpy_p2h.cpp.
|
static |
Definition at line 78 of file nrnpy_p2h.cpp.
Definition at line 20 of file secbrows.cpp.
Definition at line 46 of file nrnmenu.cpp.
Definition at line 19 of file objcmd.cpp.
Definition at line 20 of file objcmd.cpp.
Definition at line 17 of file objcmd.cpp.
Definition at line 18 of file objcmd.cpp.
Definition at line 80 of file hocprax.cpp.
| Symbol* nrnpy_pyobj_sym_ |
Definition at line 529 of file cvodeobj.cpp.
| Member_func p_members[] = {0,0} |
Definition at line 100 of file nrnpy_p2h.cpp.