mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Updates to 3.0.1 and switches to smart_holder & native_enum.
14 lines
353 B
C++
14 lines
353 B
C++
#include <pybind11/pybind11.h>
|
|
#include <pybind11/stl.h>
|
|
#include <pybind11/functional.h>
|
|
|
|
#include "icsneo/device/extensions/deviceextension.h"
|
|
|
|
namespace icsneo {
|
|
|
|
void init_deviceextension(pybind11::module_& m) {
|
|
pybind11::classh<DeviceExtension>(m, "DeviceExtension")
|
|
.def("get_name", &DeviceExtension::getName);
|
|
}
|
|
|
|
} // namespace icsneo
|