[DVDnav-discuss] is "this" a valid c++ variable name?
Andrea
mariofutire at googlemail.com
Tue Jun 24 22:40:50 CEST 2008
Hi,
either I am 100% stupid or "this" is not valid in c++ as a variable name.
this is line 293 of dvdnav.h
uint32_t dvdnav_describe_title_chapters(dvdnav_t *this, int32_t title, uint64_t **times, uint64_t
*duration);
it is the only "this" in this file, all other arguments are called "self".
g++ 4.3.0 does not compile it
/usr/include/dvdnav/dvdnav.h:293: error: expected ‘,’ or ‘...’ before ‘this’
am I wrong?
Andrea
More information about the DVDnav-discuss
mailing list