diff options
author | David Robillard <d@drobilla.net> | 2021-12-16 20:37:58 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-12-16 20:37:58 -0500 |
commit | 0fb812f37e89591d40269cd64ec8f199a0f2c04e (patch) | |
tree | 767a484c8b0b3cdea066bda2d0bfa985af38114c /src | |
parent | 5ad1447d074939825ee5bb4f1944a4e17d80d1c6 (diff) | |
download | pugl-0fb812f37e89591d40269cd64ec8f199a0f2c04e.tar.gz pugl-0fb812f37e89591d40269cd64ec8f199a0f2c04e.tar.bz2 pugl-0fb812f37e89591d40269cd64ec8f199a0f2c04e.zip |
Add puglGetBackend()
Diffstat (limited to 'src')
-rw-r--r-- | src/implementation.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/implementation.c b/src/implementation.c index 145d53b..2644412 100644 --- a/src/implementation.c +++ b/src/implementation.c @@ -265,6 +265,12 @@ puglSetBackend(PuglView* view, const PuglBackend* backend) return PUGL_SUCCESS; } +const PuglBackend* +puglGetBackend(const PuglView* view) +{ + return view->backend; +} + void puglSetHandle(PuglView* view, PuglHandle handle) { |