Scarab  v2.11.1
Project 8 C++ Utility Library
Classes | Namespaces | Macros
chrono.h File Reference
#include "pybind11.h"
#include <cmath>
#include <ctime>
#include <chrono>
#include <datetime.h>
Include dependency graph for chrono.h:

Go to the source code of this file.

Classes

class  duration_caster< type >
 
class  type_caster< std::chrono::time_point< std::chrono::system_clock, Duration > >
 
class  type_caster< std::chrono::time_point< Clock, Duration > >
 
class  type_caster< std::chrono::duration< Rep, Period > >
 

Namespaces

 pybind11
 glibc defines I as a macro which breaks things, e.g., boost template names
 
 pybind11::detail
 

Macros

#define PyDateTime_DELTA_GET_DAYS(o)   (((PyDateTime_Delta*)o)->days)
 
#define PyDateTime_DELTA_GET_SECONDS(o)   (((PyDateTime_Delta*)o)->seconds)
 
#define PyDateTime_DELTA_GET_MICROSECONDS(o)   (((PyDateTime_Delta*)o)->microseconds)
 

Macro Definition Documentation

◆ PyDateTime_DELTA_GET_DAYS

#define PyDateTime_DELTA_GET_DAYS (   o)    (((PyDateTime_Delta*)o)->days)

Definition at line 21 of file chrono.h.

◆ PyDateTime_DELTA_GET_MICROSECONDS

#define PyDateTime_DELTA_GET_MICROSECONDS (   o)    (((PyDateTime_Delta*)o)->microseconds)

Definition at line 27 of file chrono.h.

◆ PyDateTime_DELTA_GET_SECONDS

#define PyDateTime_DELTA_GET_SECONDS (   o)    (((PyDateTime_Delta*)o)->seconds)

Definition at line 24 of file chrono.h.