[pytango] 17/25: Add asyncio green mode to c++ interface

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:17:16 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to tag v8.1.9
in repository pytango.

commit 9e50b4bf98d30b5368706943264ac5477ba332f6
Author: Vincent Michel <vincent.michel at maxlab.lu.se>
Date:   Tue Aug 9 11:33:39 2016 +0200

    Add asyncio green mode to c++ interface
---
 src/boost/cpp/base_types.cpp | 1 +
 src/boost/cpp/defs.h         | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/boost/cpp/base_types.cpp b/src/boost/cpp/base_types.cpp
index e38aa28..d8d4ceb 100644
--- a/src/boost/cpp/base_types.cpp
+++ b/src/boost/cpp/base_types.cpp
@@ -239,6 +239,7 @@ void export_base_types()
         .value("Synchronous", PyTango::GreenModeSynchronous)
         .value("Futures", PyTango::GreenModeFutures)
         .value("Gevent", PyTango::GreenModeGevent)
+        .value("Asyncio", PyTango::GreenModeAsyncio)
     ;
 
     enum_<PyTango::ImageFormat>("_ImageFormat")
diff --git a/src/boost/cpp/defs.h b/src/boost/cpp/defs.h
index 8dfa3a9..49a1992 100644
--- a/src/boost/cpp/defs.h
+++ b/src/boost/cpp/defs.h
@@ -56,6 +56,7 @@ namespace PyTango
     enum GreenMode {
         GreenModeSynchronous,
         GreenModeFutures,
-        GreenModeGevent
+        GreenModeGevent,
+        GreenModeAsyncio
     };
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list