john-chapman / im3d

Immediate mode rendering and 3d gizmos.
MIT License
1.21k stars 63 forks source link

Add IM3D_API macro for dll export #37

Closed vlmillet closed 4 years ago

vlmillet commented 4 years ago

Hi John, Im3d cannot be exported inside its own dll for better modularization, it would be nice if you could add some IM3D_API macro in front of your API functions and in front of public classes such as Context or AppData. Thanks!

john-chapman commented 4 years ago

Hi Vivien - you're right, I meant to do this a while ago. I'll put it at the top of the todo list 😉. Thanks!

john-chapman commented 4 years ago

@vlmillet There's now a pull request with the relevant changes here if you want to take a quick look.