Hello,

The standard rules should apply when using a C module in C++.
One thing I wouldn't count on is having extern "C" wrappers inside the TI
headers... it's probably safer to do something like:

// C++ includes here....

// C-linkage includes here

#ifdef __cplusplus
extern "C"  {
#endif

// TI codec engine includes + any codec header files

#ifdef __cplusplus
}
#endif

As you said, you're not compiling the codecs in C++ so there shouldn't be a
problem as long as you tell the compiler to look for C style linkage not
C++ linkage.
Give it a shot and don't be afraid to experiment... oh and report back the
results so others can benefit.


DAVID A. KONDRAD
Software Design Engineer
On-Q/Legrand
www.onqlegrand.com

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to