extern SRD_PRIV GSList *pd_list;
/* module_sigrokdecode.c */
-/* FIXME: SRD_PRIV causes issues on MinGW. Investigate. */
extern PyMODINIT_FUNC PyInit_sigrokdecode(void);
/* type_logic.c */
g_string_free(new_path, TRUE);
g_free(wc_new_path);
-//#ifdef _WIN32
-// gchar **splitted;
-//
-// /*
-// * On Windows/MinGW, Python's sys.path needs entries of the form
-// * 'C:\\foo\\bar' instead of '/foo/bar'.
-// */
-//
-// splitted = g_strsplit(DECODERS_DIR, "/", 0);
-// path = g_build_pathv("\\\\", splitted);
-// g_strfreev(splitted);
-//#else
-// path = g_strdup(DECODERS_DIR);
-//#endif
-
return SRD_OK;
}
return SRD_ERR_ARG;
}
- /* TODO: Error handling. */
snprintf((char *)&srd_log_domain, LOGDOMAIN_MAXLEN, "%s", logdomain);
srd_dbg("Log domain set to '%s'.", (const char *)&srd_log_domain);
/* Only output messages of at least the selected loglevel(s). */
if (loglevel > srd_loglevel)
- return SRD_OK; /* TODO? */
+ return SRD_OK;
if (srd_log_domain[0] != '\0')
fprintf(stderr, "%s", srd_log_domain);