LibreOffice Module bridges (master) 1
Namespaces | Macros | Functions
gcc3_linux_alpha/uno2cpp.cxx File Reference
#include <sal/config.h>
#include <exception>
#include <malloc.h>
#include <typeinfo>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/genfunc.hxx>
#include <o3tl/runtimetooustring.hxx>
#include <uno/data.h>
#include "bridge.hxx"
#include "types.hxx"
#include "unointerfaceproxy.hxx"
#include "vtables.hxx"
#include "share.hxx"
#include <stdio.h>
#include <string.h>
Include dependency graph for gcc3_linux_alpha/uno2cpp.cxx:

Go to the source code of this file.

Namespaces

namespace  bridges
 
namespace  bridges::cpp_uno
 
namespace  bridges::cpp_uno::shared
 

Macros

#define INSERT_FLOAT(pSV, nr, pFPR, pDS)
 
#define INSERT_DOUBLE(pSV, nr, pFPR, pDS)
 
#define INSERT_INT64(pSV, nr, pGPR, pDS)
 
#define INSERT_INT32(pSV, nr, pGPR, pDS)
 
#define INSERT_INT16(pSV, nr, pGPR, pDS)
 
#define INSERT_INT8(pSV, nr, pGPR, pDS)
 

Functions

void MapReturn (long r0, typelib_TypeClass eTypeClass, sal_uInt64 *pRegisterReturn)
 
void bridges::cpp_uno::shared::unoInterfaceProxyDispatch (uno_Interface *pUnoI, const typelib_TypeDescription *pMemberDescr, void *pReturn, void *pArgs[], uno_Any **ppException)
 

Macro Definition Documentation

◆ INSERT_DOUBLE

#define INSERT_DOUBLE (   pSV,
  nr,
  pFPR,
  pDS 
)
Value:
if ( nr < axp::MAX_WORDS_IN_REGS ) \
pFPR[nr++] = *reinterpret_cast<double *>( pSV ); \
else \
*pDS++ = *reinterpret_cast<sal_uInt64 *>( pSV );

Definition at line 97 of file gcc3_linux_alpha/uno2cpp.cxx.

◆ INSERT_FLOAT

#define INSERT_FLOAT (   pSV,
  nr,
  pFPR,
  pDS 
)
Value:
{ \
if ( nr < axp::MAX_WORDS_IN_REGS ) \
{ \
pFPR[nr++] = *reinterpret_cast<float *>( pSV ); \
} \
else \
*pDS++ = *reinterpret_cast<sal_uInt64 *>( pSV ); \
}

Definition at line 87 of file gcc3_linux_alpha/uno2cpp.cxx.

◆ INSERT_INT16

#define INSERT_INT16 (   pSV,
  nr,
  pGPR,
  pDS 
)
Value:
if ( nr < axp::MAX_WORDS_IN_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt16 *>( pSV ); \
else \
*pDS++ = *reinterpret_cast<sal_uInt16 *>( pSV );

Definition at line 115 of file gcc3_linux_alpha/uno2cpp.cxx.

◆ INSERT_INT32

#define INSERT_INT32 (   pSV,
  nr,
  pGPR,
  pDS 
)
Value:
if ( nr < axp::MAX_WORDS_IN_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt32 *>( pSV ); \
else \
*pDS++ = *reinterpret_cast<sal_uInt32 *>( pSV );

Definition at line 109 of file gcc3_linux_alpha/uno2cpp.cxx.

◆ INSERT_INT64

#define INSERT_INT64 (   pSV,
  nr,
  pGPR,
  pDS 
)
Value:
if ( nr < axp::MAX_WORDS_IN_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt64 *>( pSV ); \
else \
*pDS++ = *reinterpret_cast<sal_uInt64 *>( pSV );

Definition at line 103 of file gcc3_linux_alpha/uno2cpp.cxx.

◆ INSERT_INT8

#define INSERT_INT8 (   pSV,
  nr,
  pGPR,
  pDS 
)
Value:
if ( nr < axp::MAX_WORDS_IN_REGS ) \
pGPR[nr++] = *reinterpret_cast<sal_uInt8 *>( pSV ); \
else \
*pDS++ = *reinterpret_cast<sal_uInt8 *>( pSV );
unsigned char sal_uInt8

Definition at line 121 of file gcc3_linux_alpha/uno2cpp.cxx.

Function Documentation

◆ MapReturn()

void MapReturn ( long  r0,
typelib_TypeClass  eTypeClass,
sal_uInt64 *  pRegisterReturn 
)

Definition at line 45 of file gcc3_linux_alpha/uno2cpp.cxx.