]> sigrok.org Git - libsigrok.git/commitdiff
Java: correct input map type in create_output() wrapper.
authorMartin Ling <redacted>
Sat, 26 Jul 2014 20:28:05 +0000 (21:28 +0100)
committerMartin Ling <redacted>
Sat, 26 Jul 2014 20:28:05 +0000 (21:28 +0100)
bindings/java/org/sigrok/core/classes/classes.i

index 5e686dcb079da44c07c59ceb511d2971c0ed01c8..52eace85a7acfc7ed778b6fe07a8d3bf821dcd19 100644 (file)
@@ -204,7 +204,7 @@ MAP_COMMON(const sigrok::ConfigKey *, Glib::VariantBase, ConfigKey, Variant)
   std::shared_ptr<sigrok::Output> create_output(
     std::shared_ptr<sigrok::Device> device)
   {
-    std::map<std::string, std::string> options;
+    std::map<std::string, Glib::VariantBase> options;
     return $self->create_output(device, options);
   }
 }