finesse.components.workspace.FillFuncWrapper¶
Overview
- class finesse.components.workspace.FillFuncWrapper¶
- Bases: - object- Helper class for wrapping a C fill function that can be referenced from Python by objects. This allows a direct C call to the function from other cdef functions. - Examples - Create a C function then wrap it using this class: - >>> cdef void c_fill(ConnectorWorkspace ptr_ws) noexcept: >>> cdef MirrorWorkspace ws = <MirrorWorkspace>ptr_ws >>> ... >>> >>> fill = FillFuncWrapper.make_from_ptr(c_fill)