aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/implementation.c6
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)
{