Re: [polyml] Changes to Foreign structure

2016-01-13 Thread Phil Clayton
I've started using the Foreign structure and it seems to be working well in tests. (It will probably be a week until I can test it with larger applications though.) My comments below are just for interest, nothing significant to report. I have a minor comment about the type of the store

Re: [polyml] Using a common CIF for callbacks

2016-01-13 Thread David Matthews
On 13/01/2016 14:19, Phil Clayton wrote: I looked at the code for FFI runtime call 55 (create a CIF) and there's not a huge amount in there so it's not much overhead. I couldn't see where the memory allocated for a CIF is freed though. (Probably not an issue as the number of callback functions