Add a couple of visibility specifiers that were missing
[ardour.git] / libs / pbd / pbd / ringbuffer.h
index bb5485a8f372dce62e6dc962c600026a72c22ea7..e3cec6adf1b5a42c14daed05f67e7e669a4a1250 100644 (file)
 #include <cstring>
 #include <glib.h>
 
+#include "pbd/libpbd_visibility.h"
+
 template<class T>
-class RingBuffer 
+class /*LIBPBD_API*/ RingBuffer 
 {
   public:
        RingBuffer (guint sz) {
@@ -118,7 +120,7 @@ class RingBuffer
        guint size_mask;
 };
 
-template<class T> guint 
+template<class T> /*LIBPBD_API*/ guint 
 RingBuffer<T>::read (T *dest, guint cnt)
 {
         guint free_cnt;
@@ -157,7 +159,7 @@ RingBuffer<T>::read (T *dest, guint cnt)
         return to_read;
 }
 
-template<class T> guint
+template<class T> /*LIBPBD_API*/ guint
 RingBuffer<T>::write (T const *src, guint cnt)
 
 {
@@ -197,7 +199,7 @@ RingBuffer<T>::write (T const *src, guint cnt)
         return to_write;
 }
 
-template<class T> void
+template<class T> /*LIBPBD_API*/ void
 RingBuffer<T>::get_read_vector (typename RingBuffer<T>::rw_vector *vec)
 
 {
@@ -238,7 +240,7 @@ RingBuffer<T>::get_read_vector (typename RingBuffer<T>::rw_vector *vec)
        }
 }
 
-template<class T> void
+template<class T> /*LIBPBD_API*/ void
 RingBuffer<T>::get_write_vector (typename RingBuffer<T>::rw_vector *vec)
 
 {