Py_Initialize();
/* FIXME */
+ /* Allows for ./gui/sigrok-gui in the top-level directory. */
PySys_SetPath("libsigrokdecode/scripts");
+ /* Allows for ./sigrok-gui in the gui/ directory. */
+ PySys_SetPath("../libsigrokdecode/scripts");
+ /* Allows for sigrok-gui from anywhere given sigrok is installed. */
+ PySys_SetPath("/usr/local/share/sigrok");
return 0;
}
*/
int sigrokdecode_load_decoder_file(const char *name)
{
+ /* QUICK HACK */
+ name = name;
+
/* TODO */
return 0;
}