[m-dev.] Tool for generating DU types in C

Ralph Becket rafe at csse.unimelb.edu.au
Mon Mar 22 19:22:38 AEDT 2010


Julien Fischer, Monday, 22 March 2010:
> 
> On Mon, 22 Mar 2010, Ralph Becket wrote:
> 
> > Thanks for the feedback, Paul.  I think I will adopt your suggestions.
> >
> > How do you feel about the tool producing a 'free_<type_name>()'
> > function to handle the freeing semantics?
> 
> Is that something the user would define?  What happens if I don't wish
> to use malloc() or free() to manage memory?

I have a TODO item in there to allow user-specified malloc and free
replacements.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list