This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to find a function declaration?

Hi,

my question sounds rather basic.

When I evaluate certain software examples I often cannot find the declaration of a function (right click -> Open Declaration).
With a search there are sometimes .map, .xml or .h files that have the function name, but what is needed is the source code.

The reason probably is that the function belongs to a library and the function prototype is in the include file only.

What could I do to find the function declaration easily from within CCSv6?
Remove the libraries and add all the source files to the project?
That would be rather time-consuming.
Or is there a better way?

Any suggestions?

Regards,
Martin H.
  • Hi Martin,

    As per my knowledge, source codes are made available in the header file itself and for the ones that are not tracable are in lib files as you correctly pointed out. The source codes in the library files are not made available to users. I've heard that some of them are made available if you sign a NDA.

    Regards,

    Gautam

  • I see. So we have to cope with that.

    Thanks for your reply, Gautam!

    Regards,
    Martin H.