Treating function calls and function prototypes distinctly
Gautam Thaker <[email protected]> Wed, 30 Sep 2020 17:15:32 -0400
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <CA+1+E3XiVYQBvMS0PxQ7oigAk9txTcvEUj6DLcfxnu=MXeHKnA@mail.gmail.com> |
--000000000000f4c22305b08e66db Content-Type: text/plain; charset="UTF-8" In C I have a use case where I want to find a function's definition, but if one does not exist i want to find the function's prototype (aka declaration). At present, if I don't have a definition I cycle thru all call and prototype declarations, but not in any particular order. How can I restrict my search to just function prototypes? Thanks. --000000000000f4c22305b08e66db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">In C=C2=A0 I have a use case where I want to find a funct= ion's definition, but if one does not exist i want to find the function= 's prototype (aka declaration). At present, if I don't have a defin= ition I cycle thru all call and prototype declarations, but not in any part= icular order. How can I restrict my search to just function prototypes?<div= dir=3D"auto"><br></div><div dir=3D"auto">Thanks.</div></div> --000000000000f4c22305b08e66db--