[DVDnav-discuss] [PATCH] fix C++ compatibility broken in r1208

Anssi Hannula anssi.hannula at iki.fi
Sat Feb 25 21:17:18 CET 2012


Revision 1208 ("Add dvdnav_program_play & dvdnav_current_title_program")
added dvdnav_program_play function to dvdnav.h. However, unlike the
other API functions, its first parameter is named 'this' instead of
'self'. 'this' is a C++ keyword and prevents compilation of C++ projects
using libdvdnav.

Restore C++ compatibility by renaming the parameter to 'self' like in
the other functions.

-- 
Anssi Hannula
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libdvdnav-c++-compatibility.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20120225/594043fa/attachment.bin>


More information about the DVDnav-discuss mailing list