From 5ad1447d074939825ee5bb4f1944a4e17d80d1c6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2021 20:35:57 -0500 Subject: Add puglGetClassName() --- src/implementation.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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) { -- cgit v1.2.1