LibreOffice Module bridges (master) 1
|
#include <stdio.h>
#include <stdlib.h>
#include <typeinfo>
#include <rtl/alloc.h>
#include <sal/log.hxx>
#include <com/sun/star/uno/genfunc.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <uno/data.h>
#include <typelib/typedescription.hxx>
#include <bridge.hxx>
#include <cppinterfaceproxy.hxx>
#include <types.hxx>
#include <vtablefactory.hxx>
#include "abi.hxx"
#include "call.hxx"
#include "share.hxx"
Go to the source code of this file.
Classes | |
struct | bridges::cpp_uno::shared::VtableFactory::Slot |
Functions | |
static int | cpp2uno_call (bridges::cpp_uno::shared::CppInterfaceProxy *pThis, const typelib_TypeDescription *pMemberTypeDescr, typelib_TypeDescriptionReference *pReturnTypeRef, sal_Int32 nParams, typelib_MethodParameter *pParams, void **gpreg, void **fpreg, void **ovrflw, sal_uInt64 *pRegisterReturn) |
int | cpp_vtable_call (sal_Int32 nFunctionIndex, sal_Int32 nVtableOffset, void **gpreg, void **fpreg, void **ovrflw, sal_uInt64 *pRegisterReturn) |
static unsigned char * | codeSnippet (unsigned char *code, sal_Int32 nFunctionIndex, sal_Int32 nVtableOffset, bool bHasHiddenParam) |
Variables | |
const int | codeSnippetSize = 24 |
|
static |
Definition at line 423 of file gcc3_macosx_x86-64/cpp2uno.cxx.
References code, codeSnippetSize, and privateSnippetExecutor.
|
static |
Definition at line 60 of file gcc3_macosx_x86-64/cpp2uno.cxx.
References x86_64::examine_argument(), bridges::cpp_uno::shared::CppInterfaceProxy::getBridge(), bridges::cpp_uno::shared::Bridge::getCpp2Uno(), x86_64::getReturnKind(), bridges::cpp_uno::shared::Bridge::getUno2Cpp(), bridges::cpp_uno::shared::CppInterfaceProxy::getUnoI(), bridges::cpp_uno::shared::isSimpleType(), x86_64::MAX_GPR_REGS, x86_64::MAX_SSE_REGS, x86_64::Memory, nIndex, nPos, CPPU_CURRENT_NAMESPACE::raiseException(), x86_64::RegistersFpInt, x86_64::RegistersGeneral, x86_64::RegistersIntFp, bridges::cpp_uno::shared::relatesToInterfaceType(), uno_copyAndConvertData(), and uno_destructData().
Referenced by cpp_vtable_call().
int cpp_vtable_call | ( | sal_Int32 | nFunctionIndex, |
sal_Int32 | nVtableOffset, | ||
void ** | gpreg, | ||
void ** | fpreg, | ||
void ** | ovrflw, | ||
sal_uInt64 * | pRegisterReturn | ||
) |
Definition at line 270 of file gcc3_macosx_x86-64/cpp2uno.cxx.
References bridges::cpp_uno::shared::CppInterfaceProxy::acquireProxy(), bridges::cpp_uno::shared::CppInterfaceProxy::castInterfaceToProxy(), cpp2uno_call(), bridges::cpp_uno::shared::CppInterfaceProxy::getBridge(), bridges::cpp_uno::shared::Bridge::getCppEnv(), bridges::cpp_uno::shared::CppInterfaceProxy::getOid(), bridges::cpp_uno::shared::CppInterfaceProxy::getTypeDescr(), bridges::cpp_uno::shared::CppInterfaceProxy::releaseProxy(), and SAL_WARN.
const int codeSnippetSize = 24 |
Definition at line 411 of file gcc3_macosx_x86-64/cpp2uno.cxx.
Referenced by codeSnippet().