Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] From function definition to function declaration and back

On 19/01/2012 13:51, Damien Karkinsky wrote:
> Dear Virgile,
> It is the corresponding GVarDecl that I need. In what situations would
> it not exist for a given GFun?

You'll find a GVarDecl only if there is an explicit prototype somewhere. 
If you give directly the definition, you have only a GFun.
Besides, I don't see what information the GVarDecl would give you that 
you don't have with the corresponding kernel_function, except the 
location, as the varinfo refers to the loc of the definition.

Best regards,
E tutto per oggi, a la prossima volta