From 10eb80744b1bf00276a42720970151319223b5b5 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Fri, 7 Feb 2025 15:51:18 -0500
Subject: Add missing C++ binding definitions

---
 bindings/cpp/include/pugl/pugl.hpp | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'bindings/cpp/include')

diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp
index 32321c7..0082fe2 100644
--- a/bindings/cpp/include/pugl/pugl.hpp
+++ b/bindings/cpp/include/pugl/pugl.hpp
@@ -66,6 +66,12 @@ private:
 
 } // namespace detail
 
+/// @copydoc PuglCoord
+using Coord = PuglCoord;
+
+/// @copydoc PuglSpan
+using Span = PuglSpan;
+
 /// @copydoc PuglRect
 using Rect = PuglRect;
 
@@ -227,6 +233,7 @@ enum class Status {
   setFormatFailed,     ///< @copydoc PUGL_SET_FORMAT_FAILED
   createContextFailed, ///< @copydoc PUGL_CREATE_CONTEXT_FAILED
   unsupported,         ///< @copydoc PUGL_UNSUPPORTED
+  noMemory,            ///< @copydoc PUGL_NO_MEMORY
 };
 
 static_assert(static_cast<Status>(PUGL_UNSUPPORTED) == Status::unsupported, "");
@@ -375,6 +382,7 @@ enum class SizeHint {
   defaultSize, ///< @copydoc PUGL_DEFAULT_SIZE
   minSize,     ///< @copydoc PUGL_MIN_SIZE
   maxSize,     ///< @copydoc PUGL_MAX_SIZE
+  fixedAspect, ///< @copydoc PUGL_FIXED_ASPECT
   minAspect,   ///< @copydoc PUGL_MIN_ASPECT
   maxAspect,   ///< @copydoc PUGL_MAX_ASPECT
 };
-- 
cgit v1.2.1