Further to this question, how do I go about deleting the memory at shutdown? I see a reference in the halcompile docs to EXTRA_CLEANUP but the docs aren't too clear on how I iterate through each loaded module to delete it's memory (if allocated).

Les

On 14/08/2019 13:48, Les Newell wrote:
I am working on a hal module that may need a variable amount of memory depending on it's configuration. Is it acceptable to use malloc in a hal module? Should I use hal_malloc or is that specifically for pins?

Les


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to