]> git.sesse.net Git - vlc/blobdiff - test/native/stats.c
Use var_InheritString for --decklink-video-connection.
[vlc] / test / native / stats.c
index b3cdd02417452f3f7b2f71825063ced9b87f7088..b1d71169f67972c87b26f18ef883aae29cbbd365 100644 (file)
@@ -1,15 +1,12 @@
 #include "../pyunit.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 
-static PyObject *timers_test( PyObject *self, PyObject *args )
+PyObject *timers_test( PyObject *self, PyObject *args )
 {
      Py_INCREF( Py_None );
      return Py_None;
 }
-
-static PyMethodDef native_stats_test_methods[] = {
-   DEF_METHOD( timers_test, "Test timers" )
-   { NULL, NULL, 0, NULL }
-};
-
-DECLARE_MODULE( native_stats_test )