summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-01-23 03:26:40 +0200
committerTor Lillqvist <tlillqvist@novell.com>2011-01-23 03:26:40 +0200
commit5962ac8ae3ef0ab83a448a1d0e1c03ac943d1571 (patch)
treed40459ba893b246923ed1a1649d9042530ceedf2 /bridges/source
parent3316e0b69e0faece9179938af85ae4151282b40e (diff)
Add debug output to the dummy functions to see if/when they get called
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx2
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx4
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx14
3 files changed, 13 insertions, 7 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
index 41f46c352..de8ceca10 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/cpp2uno.cxx
@@ -430,7 +430,7 @@ bridges::cpp_uno::shared::VtableFactory::initializeBlock(
static void whatthefuck(sal_Int64 i, ...)
{
-
+ MessageBoxA (NULL, "Shit!", "whatthefuck in cpp2uno.cxx", MB_OK);
}
#endif
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
index 81833f5fc..573af2cbb 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
@@ -275,12 +275,12 @@ extern void *destruct;
static void whatthefuck_copyctor(sal_Int64 i, ...)
{
-
+ MessageBoxA (NULL, "Shit!", "whatthefuck_copyctor in except.cxx", MB_OK);
}
static void whatthefuck_dtor(sal_Int64 i, ...)
{
-
+ MessageBoxA (NULL, "Shit!", "whatthefuck_dtor in except.cxx", MB_OK);
}
#endif
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
index 25621e4e8..2ce275a6a 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/uno2cpp.cxx
@@ -41,6 +41,10 @@
#include "mscx.hxx"
+#if OSL_DEBUG_LEVEL > 1
+#include <stdio.h>
+#endif
+
using namespace ::rtl;
using namespace ::com::sun::star::uno;
@@ -103,6 +107,8 @@ static void cpp_call(
{
const int MAXPARAMS = 20;
+ MessageBoxA (NULL, "Whoa!", "cpp_call in uno2cpp.cxx", MB_OK);
+
if (nParams > MAXPARAMS)
{
// We have a hard limit on the number of parameters so that we
@@ -236,12 +242,12 @@ static void cpp_call(
(((sal_Int64 *)pCppThis) + aVtableSlot.index);
// Pass parameters 2..4 as double so that it gets put in both XMM and integer
- // registers per the
+ // registers per the
uRetVal.i =
pMethod (aCppParams[0].i, aCppParams[1].d, aCppParams[2].d, aCppParams[3].d,
- aCppParams[4].i, aCppParams[5].i, aCppParams[6].i, aCppParams[7].i,
- aCppParams[8].i, aCppParams[9].i, aCppParams[10].i, aCppParams[11].i,
- aCppParams[12].i, aCppParams[13].i, aCppParams[14].i, aCppParams[15].i,
+ aCppParams[4].i, aCppParams[5].i, aCppParams[6].i, aCppParams[7].i,
+ aCppParams[8].i, aCppParams[9].i, aCppParams[10].i, aCppParams[11].i,
+ aCppParams[12].i, aCppParams[13].i, aCppParams[14].i, aCppParams[15].i,
aCppParams[16].i, aCppParams[17].i, aCppParams[18].i, aCppParams[19].i );
}
__except (CPPU_CURRENT_NAMESPACE::mscx_filterCppException(