Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert platform specific functions to use vtables (e.g. ALLEGRO_SYSTEM_INTERFACE). #996

SiegeLord opened this Issue Feb 3, 2019 · 0 comments


None yet
1 participant
Copy link

SiegeLord commented Feb 3, 2019

This includes things like al_get_time, al_rest which are directly implemented in the platform code, but also things like al_create_thread which use a private _al_thread_create. The primary reason is so that we can add new functionality without having to implement it simultaneously for all other platforms (or breaking the build if we don't). It's also significantly simplifies implementing new platforms as it's obvious what needs to be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
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.