#include <cassert>
-#include <libsigrok/libsigrok.hpp>
+#include <libsigrokcxx/libsigrokcxx.hpp>
#include <libsigrokdecode/libsigrokdecode.h>
#include "decoder.hpp"
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,