1. 26 Feb, 2016 17 commits
  2. 25 Feb, 2016 13 commits
  3. 24 Feb, 2016 2 commits
  4. 23 Feb, 2016 2 commits
    • Filip Roséen's avatar
      include/vlc_plugin.h: fixed problematic linkage on callback argument · 7abef20e
      Filip Roséen authored
      The rationale behind this patch is easier to explain with a little bit
      of code than in words, but one can summarize it with; "wrong linkage
      used for `vlc_set_cb` when `include/vlc_plugin.h` is compiled as C++,
      this fixes that".
          extern "C" typedef void(*callback_t)();
          void cpp_func (callback_t);
      Above the name `cpp_func` has C++ linkage, and its type is a C++ function
      returning `void`, accepting a pointer-to-function-with-C-linkage (returning
      `void` and takes no arguments).
          typedef void(*callback_t) ();
          extern "C" int c_func (callback_t);
      In this example (matching the code in `include/vlc_plugin.h`), the name `c_func`
      has C linkage, and its type is a C function returning `int`, accepting a
      pointer-to-function-with-C++-linkage (that returns `void` and takes no
      Since `vlc_entry_*` will be called from C, the first parameter when invoked will
      be a pointer to function with C linkage---as such this patch fixes the
      previously erroneous linkage.
      Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
    • Rémi Denis-Courmont's avatar
      test: fix builds without Lua · 785725cf
      Rémi Denis-Courmont authored
      Notably "make distcheck".
  5. 22 Feb, 2016 6 commits