DSPRelated.com
Forums

CCS - Defining callback for a C library in C++ code

Started by o_suplis August 11, 2005
I am writing a C++ application on C6415 using CCS 3.
I use a C library for which I have to provide an interrupt handler
(thus, that function will be called using the C calling convention).
However, this handler interacts with a C++ object and has to be defined
in a C++ file.

Is there a way to inform the compiler/linker to use C calling
convention for a given function ?

Thanks for your help.

O.