[cogl/wip/frame-synchronization] Add experimental-api guards for cogl_renderer_foreach_output()



commit 4e921f3fe5b0518e242b4050abd6fcef99fd7847
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Tue Jan 29 01:41:51 2013 -0500

    Add experimental-api guards for cogl_renderer_foreach_output()
    
    Since this API references CoglOutput, but occurs in a
    non-experimental header, we need to guard it so that an include
    of cogl.h without -DCOGL_ENABLE_EXPERIMENTAL_API doesn't beak.

 cogl/cogl-renderer.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-renderer.h b/cogl/cogl-renderer.h
index 6523bef..4fa5554 100644
--- a/cogl/cogl-renderer.h
+++ b/cogl/cogl-renderer.h
@@ -384,6 +384,8 @@ cogl_renderer_set_driver (CoglRenderer *renderer,
 CoglDriver
 cogl_renderer_get_driver (CoglRenderer *renderer);
 
+#ifdef COGL_ENABLE_EXPERIMENTAL_API
+
 /**
  * CoglOutputCallback:
  * @output: The current display output being iterated
@@ -411,6 +413,8 @@ cogl_renderer_foreach_output (CoglRenderer *renderer,
                               CoglOutputCallback callback,
                               void *user_data);
 
+#endif /* COGL_ENABLE_EXPERIMENTAL_API */
+
 COGL_END_DECLS
 
 #endif /* __COGL_RENDERER_H__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]