Hi all,<br><br>Forgive me if this has been suggested before, but I found nothing after a lot of searching.<br><br>This patch simply wraps x264.h in extern "C" if included from a C++ target, and names  the previously anonymous struct types to enable forward declarations.<br><br>I understand if you want to keep the header pure from "#ifdef __cplusplus", but in this case would it be acceptable just to modify the typedef structs, as in the patch, to enable forward declarations?<br><br>Many thanks!<br>-Mark<br><br>