aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-27 00:42:45 +0200
committerDavid Robillard <d@drobilla.net>2019-07-29 01:59:13 +0200
commit657a30d29edbf28c2d12788114c988156cfd6996 (patch)
tree8f89ed79dcc4179660845e9caea07d561a7e7fb2
parent982ea3f09aa968bd89b00f445272984cb629b346 (diff)
downloadpugl-657a30d29edbf28c2d12788114c988156cfd6996.tar.gz
pugl-657a30d29edbf28c2d12788114c988156cfd6996.tar.bz2
pugl-657a30d29edbf28c2d12788114c988156cfd6996.zip
Expose PuglBackend type
-rw-r--r--pugl/pugl.h5
-rw-r--r--pugl/pugl_internal_types.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 1567b1f..b88392b 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -65,6 +65,11 @@ extern "C" {
typedef struct PuglViewImpl PuglView;
/**
+ Graphics backend interface.
+*/
+typedef struct PuglBackendImpl PuglBackend;
+
+/**
A native window handle.
On X11, this is a Window.
diff --git a/pugl/pugl_internal_types.h b/pugl/pugl_internal_types.h
index 4a1ba42..5f81f97 100644
--- a/pugl/pugl_internal_types.h
+++ b/pugl/pugl_internal_types.h
@@ -38,9 +38,6 @@
/** Platform-specific internals. */
typedef struct PuglInternalsImpl PuglInternals;
-/** Graphics backend interface. */
-typedef struct PuglBackendImpl PuglBackend;
-
typedef struct {
int context_version_major;
int context_version_minor;