Hi,
my current project, is a small library for game developers. The library consists of classes, I used in earlier game projects,
e.g. window creation or JSON parsing.
What's bothering me currently, is that I have different 'main'-signatures across different platforms,
i.e. 'WinMain' on Windows or 'ANativeActivity_onCreate' on Android.
I'd like to map these into a DLL/SO-file, so that the user has only to write a 'main'-entrypoint once, which works across
multiple platforms.
Is it possible to move the entrypoint into a 'external module' or do I have to link statically?
Thanks in advance,
Julien