Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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
UPDATE
this was reply to irah's post, not directly to onkar's post.
I just clarified what irah was trying to say

Vivek
-- 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.


Comment on Re^2: parsing C functions.
Download Code
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__); ....do 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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://771582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-10-22 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls