comparison dvdnav/dvdnav.h @ 420:d7720a050e67 src

Restore C++ compatibility by renaming the parameter to 'self' like in the other functions. 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. Patch by Anssi Hannula \anssi.hannula%iki.fi/
author rathann
date Sun, 09 Dec 2012 21:39:37 +0000
parents a67a8292eefe
children 9ec21bb5556e
comparison
equal deleted inserted replaced
419:8c87207b73ac 420:d7720a050e67
279 dvdnav_status_t dvdnav_part_play(dvdnav_t *self, int32_t title, int32_t part); 279 dvdnav_status_t dvdnav_part_play(dvdnav_t *self, int32_t title, int32_t part);
280 280
281 /* 281 /*
282 * Plays the specified title, starting from the specified program 282 * Plays the specified title, starting from the specified program
283 */ 283 */
284 dvdnav_status_t dvdnav_program_play(dvdnav_t *this, int32_t title, int32_t pgcn, int32_t pgn); 284 dvdnav_status_t dvdnav_program_play(dvdnav_t *self, int32_t title, int32_t pgcn, int32_t pgn);
285 285
286 /* 286 /*
287 * Stores in *times an array (that the application *must* free) of 287 * Stores in *times an array (that the application *must* free) of
288 * dvdtimes corresponding to the chapter times for the chosen title. 288 * dvdtimes corresponding to the chapter times for the chosen title.
289 * *duration will have the duration of the title 289 * *duration will have the duration of the title