LightMessaging
LightMessaging copied to clipboard
[Q] LMResponseBufferFree in mach callback?
I'm confused about this practice here:
https://github.com/r-plus/libcanopenurl/blob/master/LCCanOpenURL.x#L36-L52
What exactly is LMResponseBufferFree doing? And how does it accept bytes in the example above? I thought bytes was just an LMMessage, so LMReponseBufferFree wouldn't work on that struct. But somehow.... it does? I'm confused.
I figure there must be a good reason for this, since it's showing up in all the example code I see.
Thanks.