Hello,
I want to create a function with all the inialized globals variables in
the file we process.
For example, if I have a file :
int i = 3;
struct typ s = { /* initialization */ };
int k;
/* ... functions ... */
Then, I want create the function
void globalInit (void)
{
i = 3;
s = { /* initialization */ };
return;
}
I know I can create an empty function, and, visiting the globals with
the initinfo, I can reconstruct the instructions.
But, I would like to know if there is a simpler way to do that.
Best regards,
Muriel
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
CIL-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cil-users