diff options
author | David Robillard <d@drobilla.net> | 2021-12-16 20:35:57 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-12-16 20:35:57 -0500 |
commit | 5ad1447d074939825ee5bb4f1944a4e17d80d1c6 (patch) | |
tree | 2a4792242b9962ef0da5fbae014a3833643f6ddf /src | |
parent | d54309d0716173c1fe3f5c7e9812e42722f79bc9 (diff) | |
download | pugl-5ad1447d074939825ee5bb4f1944a4e17d80d1c6.tar.gz pugl-5ad1447d074939825ee5bb4f1944a4e17d80d1c6.tar.bz2 pugl-5ad1447d074939825ee5bb4f1944a4e17d80d1c6.zip |
Add puglGetClassName()
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 df30730..145d53b 100644 --- a/src/implementation.c +++ b/src/implementation.c @@ -137,6 +137,12 @@ puglSetClassName(PuglWorld* const world, const char* const name) return PUGL_SUCCESS; } +const char* +puglGetClassName(const PuglWorld* world) +{ + return world->className; +} + PuglView* puglNewView(PuglWorld* const world) { |