]> sigrok.org Git - libsigrokdecode.git/blobdiff - controller.c
Code cleanup
[libsigrokdecode.git] / controller.c
index 9267ded40e653a14423c9446b23f8994e5366542..276dc2dcc686cca61dbff2f914789fc08282f6cf 100644 (file)
@@ -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;
 }