aboutsummaryrefslogtreecommitdiffstats
path: root/python/libghdl/thin/vhdl/nodes_utils.py
blob: 8ea92969e3595cc1692569ea3ef7bd964be05e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from libghdl import libghdl

Strip_Denoting_Name = libghdl.vhdl__utils__strip_denoting_name

Get_Entity = libghdl.vhdl__utils__get_entity

Is_Second_Subprogram_Specification = \
    libghdl.vhdl__utils__is_second_subprogram_specification

Get_Entity_From_Entity_Aspect = \
    libghdl.vhdl__utils__get_entity_from_entity_aspect

Get_Interface_Of_Formal = \
    libghdl.vhdl__utils__get_interface_of_formal
ass="o">: A(int value) : v{value} {}; int v; }; py::class_<A>(m, "A") .def(py::init<int>()) .def_readwrite("value", &A::v); m.def("internals_at", []() { return reinterpret_cast<uintptr_t>(&py::detail::get_internals()); }); }