uu.spdr icon indicating copy to clipboard operation
uu.spdr copied to clipboard

Make it cheaper to use SPDR in DLLs

Open nil-ableton opened this issue 9 years ago • 0 comments

When using SPDR across multiple DLLs, it is necessary to share the SPDR_Context between these DLLs.

Having to call a dll function to grab the context seems like a too big overhead and is cumbersome to write.

How about having a hidden global context for SPDR that can be set with an explicit "set_context" function?

This way all the macros don't need to have a first argument anymore as well.

nil-ableton avatar May 25 '16 10:05 nil-ableton