LightMessaging icon indicating copy to clipboard operation
LightMessaging copied to clipboard

[Q] LMResponseBufferFree in mach callback?

Open rweichler opened this issue 9 years ago • 0 comments

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.

rweichler avatar Aug 03 '16 07:08 rweichler