[x264-devel] Re: Stricter bs_init() parameter typing in bs.h...
Tuukka Toivonen
tuukkat at ee.oulu.fi
Fri Apr 1 10:47:31 CEST 2005
On Fri, 1 Apr 2005, Peter Booth wrote:
>static inline void bs_init( bs_t *s, void *p_data, int i_data )
>
>...to...
>
>static inline void bs_init( bs_t *s, uint8_t *p_data, int i_data )
>
>...it's the only thing I have to alter get my current C++ based
>implementation to compile.
Maybe this won't work, as I don't know so much about C++...
but what if you wrap your #include inside a block
extern "C"
{
#include "bs.h-or-whatever"
}
Or would a pointer type cast to (void *) help?
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list