diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 14:10:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-25 16:17:09 +0100 |
commit | 97354578d7195bce927f0c00c4e2ae9cd7344776 (patch) | |
tree | 2f3cebd64b217cd628dc1d95cb655ebe717a3067 /include | |
parent | 86088dda6e893faaecfea19bad6e0e6c1ffa657c (diff) |
Remove the obsolete functionality originally underlying osl/diagnose.h
...before that got rebased onto sal/log.hxx. That functionality is considered
an implementation detail, so it should be safe to remove it from the URE
interface. As usual, aborting stubs are retained for SONAME stability.
Change-Id: If948b9714c26a3871e38dea4d4d5b5466d6ee258
Diffstat (limited to 'include')
-rw-r--r-- | include/osl/diagnose.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/osl/diagnose.h b/include/osl/diagnose.h index 2d8636f5fd17..b0f7bada2f29 100644 --- a/include/osl/diagnose.h +++ b/include/osl/diagnose.h @@ -87,50 +87,6 @@ #define OSL_DEBUG_LEVEL 0 #endif -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -/* - Diagnostic support -*/ - -SAL_DLLPUBLIC void SAL_CALL osl_breakDebug(void); -SAL_DLLPUBLIC sal_Bool SAL_CALL osl_assertFailedLine(const sal_Char* pszFileName, sal_Int32 nLine, const sal_Char* pszMessage); -SAL_DLLPUBLIC void SAL_CALL osl_trace(const sal_Char* pszFormat, ...); -SAL_DLLPUBLIC sal_Int32 SAL_CALL osl_reportError(sal_uInt32 nType, const sal_Char* pszErrorMessage); - -/* - For message delivery -*/ - -/** a message delivery function which receives a pre-formatted message string -*/ -typedef void (SAL_CALL *pfunc_osl_printDebugMessage)( const sal_Char * pszMessage ); - -/** a message delivery function which receives detailed information about where the message was triggered -*/ -typedef void (SAL_CALL *pfunc_osl_printDetailedDebugMessage)( const sal_Char * pszFileName, sal_Int32 nLine, const sal_Char* pszMessage ); - -/** sets a message delivery function - - The function set here is ignored if a function for detailed message information - (pfunc_osl_printDetailedDebugMessage) has been set. - - The given message handler must be able to cope with a null message. -*/ -SAL_DLLPUBLIC pfunc_osl_printDebugMessage SAL_CALL osl_setDebugMessageFunc( pfunc_osl_printDebugMessage pNewFunc ); - -/** sets a delivery function for detailed message information. - - The given message handler must be able to cope with a null message. -*/ -SAL_DLLPUBLIC pfunc_osl_printDetailedDebugMessage SAL_CALL osl_setDetailedDebugMessageFunc( pfunc_osl_printDetailedDebugMessage pNewFunc ); - -#ifdef __cplusplus -} -#endif - #define OSL_THIS_FILE __FILE__ /* the macro OSL_LOG_PREFIX is intended to be an office internal macro for now |