The question is very big and the content is very small. Because the younger brother has limited ability, he cannot think of any suitable questions.
When I recently read the code of an open-source project, I always find that the relevant functions are not found.
It is inconvenient to mark the quoted italics. Recall that this problem was also encountered when I used the pjsip open-source project before,
At that time, the Code was so crazy that it could only be fooled ..
It seems I have to think about some moves .. First, find the reason why "reference link cannot be found. The result is that some macro definitions are used at the beginning of the function,
Such as methoddef and extern. As a result, the code editor such as source insight cannot find function references.
What should we do ?? I copied a copy of the project code, re-built a project, and then started the keywords of those functions.
(Methoddef, etc.) Replacement (you can use the replace files in source insight or the SED and TR commands of shell terminals ),
Finally, you can see the complete call (this project is only for ease of reading and cannot be compiled ).
However, there are still some problems, that is, the function pointers in the struct are also encapsulated with macros, which is not easy to replace. At this time, only
This is the case.
I have used the above tips only when viewing C/C ++ projects. I don't know if you are reading the project code.
How can this problem be solved?