hwc: add tdm_backend_register_func_hwc in tdm_backend.h
[platform/core/uifw/libtdm.git] / tools / buffers.h
index 55afd3d..acf5661 100644 (file)
 #ifndef __BUFFERS_H__
 #define __BUFFERS_H__
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 enum fill_pattern {
        PATTERN_TILES = 0,
        PATTERN_PLAIN = 1,
@@ -36,4 +40,8 @@ enum fill_pattern {
 void
 tdm_test_buffer_fill(tbm_surface_h buffer, int pattern);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif