Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
Post a new Thread
CCS - Defining callback for a C library in C++ code - o_suplis - Aug 11 4:03:00 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.
______________________________
New Code Sharing Section now Live on DSPRelated.com.
Learn about the Reward
Program for Contributors here. 
(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )