Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^2: parsing C functions.

by targetsmart (Curate)
on Jun 15, 2009 at 08:15 UTC ( #771582=note: print w/replies, xml ) Need Help??

in reply to Re: parsing C functions.
in thread parsing C functions.

If my assumption is correct
You meant , apart from normal C code, we had to put additional comments on the start of the function like
/* Function : main Purpose: .. Author: .. */ void main() { ... }
and identify the functions depending upon the comments.
You should have given a code example, otherwise this would lead to confusion
this was reply to irah's post, not directly to onkar's post.
I just clarified what irah was trying to say

-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Replies are listed 'Best First'.
Re^3: parsing C functions.
by Anonymous Monk on Jun 15, 2009 at 08:36 UTC
    No, its like int main(){ printf("In - %s%d%s\n",__FILE__,__LINE__,__func__); something here .... printf("Out -%s%d%s\n",__FILE__,__LINE__,__func__); return 0; } in all the functions in the large code base containing at least 10000 functions like the Linux Kernel source .... Regards, Onkar

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771582]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2018-05-24 04:29 GMT
Find Nodes?
    Voting Booth?