#include <cassert>
-#include <libsigrok/libsigrok.hpp>
+#include <libsigrokcxx/libsigrokcxx.hpp>
#include <libsigrokdecode/libsigrokdecode.h>
-#include "decoder.h"
+#include "decoder.hpp"
-#include <pv/view/logicsignal.h>
+#include <pv/view/logicsignal.hpp>
using std::set;
using std::map;
g_hash_table_destroy(opt_hash);
if(!decoder_inst)
- return NULL;
+ return nullptr;
// Setup the channels
GHashTable *const channels = g_hash_table_new_full(g_str_hash,