This would make it easier to forward-declare the structs in a C++ header without including pl_mpeg.h from there, exposing it to the rest of the program.
Example my.hpp:
struct plm_frame_t; // trying to not include pl_mpeg.h here
class MyClass {
public:
void render( plm_frame_t *frame );
};
It would be helpful to change
into
This would make it easier to forward-declare the structs in a C++ header without including pl_mpeg.h from there, exposing it to the rest of the program.
Example my.hpp:
Example my.cpp: