X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=controller.c;h=276dc2dcc686cca61dbff2f914789fc08282f6cf;hp=9267ded40e653a14423c9446b23f8994e5366542;hb=1f2e00d140ac41a3a61888f67fc6f96c4369bea3;hpb=6fd278bac7d10e967e708171e2b3aa8b3382a2ff diff --git a/controller.c b/controller.c index 9267ded..276dc2d 100644 --- a/controller.c +++ b/controller.c @@ -98,7 +98,6 @@ static GSList *callbacks = NULL; 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 */ @@ -254,21 +253,6 @@ SRD_PRIV int srd_decoder_searchpath_add(const char *path) 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; }