[libbluray-devel] commit: log_control.h: do not use enum in exported function parameter / return value (hpi1 )

git at videolan.org git at videolan.org
Sun Oct 17 15:11:25 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Oct 17 15:58:56 2010 +0300| [a7cb77e732002114df7e09f79fe8d85137277aee] | committer: hpi1 

log_control.h: do not use enum in exported function parameter / return value

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a7cb77e732002114df7e09f79fe8d85137277aee
---

 src/util/log_control.h |    4 ++--
 src/util/logging.c     |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/util/log_control.h b/src/util/log_control.h
index 530fca1..3c5a7fa 100644
--- a/src/util/log_control.h
+++ b/src/util/log_control.h
@@ -51,8 +51,8 @@ typedef void (*BD_LOG_FUNC)(const char *);
 
 void bd_set_debug_handler(BD_LOG_FUNC);
 
-void bd_set_debug_mask(debug_mask_t mask);
-debug_mask_t bd_get_debug_mask(void);
+void bd_set_debug_mask(uint32_t mask);
+uint32_t bd_get_debug_mask(void);
 
 
 #endif /* BD_LOG_CONTROL_H_ */
diff --git a/src/util/logging.c b/src/util/logging.c
index d918da8..ee50acd 100644
--- a/src/util/logging.c
+++ b/src/util/logging.c
@@ -33,12 +33,12 @@ void bd_set_debug_handler(BD_LOG_FUNC f)
     log_func = f;
 }
 
-void bd_set_debug_mask(debug_mask_t mask)
+void bd_set_debug_mask(uint32_t mask)
 {
     debug_mask = mask;
 }
 
-debug_mask_t bd_get_debug_mask(void)
+uint32_t bd_get_debug_mask(void)
 {
     return debug_mask;
 }



More information about the libbluray-devel mailing list