%module(docstring=DOCSTRING) sigrok
%{
+#include "config.h"
+
#include <stdio.h>
#include <glibmm.h>
-
-#include "config.h"
%}
%include "../swig/templates.i"
} else {
SWIG_exception(SWIG_TypeError, ("TODO: GVariant(" + variant.get_type().get_string() + ") -> Ruby").c_str());
}
+ return 0; /* Dummy, to avoid a compiler warning. */
}
%}