mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 05:47:14 +02:00
Nanosecond times in Python (#522)
* initital implementation * datetime replaces with sls::Duration in Python C bindings * using custom type caster * fix for conversion to seconds * added set_count in python * common header for pybind11 includes authored-by: Erik Frojdh <erik.frojdh@psi.ch>
This commit is contained in:
@ -4,11 +4,7 @@
|
||||
This file contains Python bindings for the IpAddr and MacAddr
|
||||
classes.
|
||||
*/
|
||||
|
||||
#include <pybind11/chrono.h>
|
||||
#include <pybind11/operators.h>
|
||||
#include <pybind11/pybind11.h>
|
||||
#include <pybind11/stl.h>
|
||||
#include "py_headers.h"
|
||||
|
||||
#include "sls/network_utils.h"
|
||||
namespace py = pybind11;
|
||||
|
Reference in New Issue
Block a user