You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please support single-file include mode without expose any 'extern' symbols to avoid conflicts in static-lib/wasm scenarios.
currently most of cgltf_* functions are declared using 'extern' which will expose the functions to other compilation units.
but in some scenarios like static-library or large webassembly/emscripten projects with many independently developed modules, this may introduce conflicts/duplicated symbols.
Please support single-file include mode without expose any 'extern' symbols to avoid conflicts in static-lib/wasm scenarios.
currently most of cgltf_* functions are declared using 'extern' which will expose the functions to other compilation units.
but in some scenarios like static-library or large webassembly/emscripten projects with many independently developed modules, this may introduce conflicts/duplicated symbols.
stb_ libraries uses a macro like STB_IMAGE_STATIC to switch between 'extern'/'static' functions, hopefully cgltf can support this too.
https://github.com/nothings/stb/blob/013ac3beddff3dbffafd5177e7972067cd2b5083/stb_image.h#L395C8-L395C24
The text was updated successfully, but these errors were encountered: