XmacsLabs / lolly

lolly: A user-friendly C++ library
https://xmacslabs.github.io/lolly/
GNU General Public License v3.0
10 stars 6 forks source link

[22_2] add api to load shared library #320

Closed jingkaimori closed 6 months ago

jingkaimori commented 6 months ago

TODO: add proper configuration on wasm

jingkaimori commented 6 months ago

Because RESOURCE macro cannot be used inside namespace when building with wasm or MacOS, thus disable shared_lib class on wasm.

da-liii commented 6 months ago

这个pr需要拆成RESOURCE的更改和剩下的更改两个pr。

其中RESOURCE的更改是影响既有代码的,剩下的更改是新增代码,并不影响既有实现。