]> sigrok.org Git - libsigrok.git/blobdiff - bindings/cxx/classes.cpp
bindings: Add Session::context().
[libsigrok.git] / bindings / cxx / classes.cpp
index 7becfb65e4ae472b44c0843e96d3f26731ea8089..da21086c50510199456e8b0a18c2a85815be825c 100644 (file)
@@ -1147,6 +1147,11 @@ string Session::filename()
        return _filename;
 }
 
+shared_ptr<Context> Session::context()
+{
+       return _context;
+}
+
 Packet::Packet(shared_ptr<Device> device,
        const struct sr_datafeed_packet *structure) :
        UserOwned(structure),