Need also uno_ext_getMapping for Java when DISABLE_DYNLOADING
Change-Id: I65f09e54c80df4e96e24548692eeb3a57e1de517
This commit is contained in:
parent
e5045bea0a
commit
f09f52e4ad
3 changed files with 19 additions and 0 deletions
|
@ -474,6 +474,10 @@ void SAL_CALL uno_initEnvironment( uno_Environment * java_env )
|
|||
machine->acquire();
|
||||
}
|
||||
|
||||
#ifdef DISABLE_DYNLOADING
|
||||
#define uno_ext_getMapping java_uno_ext_getMapping
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void SAL_CALL uno_ext_getMapping(
|
||||
uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo )
|
||||
|
|
|
@ -193,6 +193,16 @@ void SAL_CALL CPPU_ENV_uno_ext_getMapping(
|
|||
struct _uno_Environment * pFrom,
|
||||
struct _uno_Environment * pTo )
|
||||
SAL_THROW_EXTERN_C();
|
||||
|
||||
#ifdef SOLAR_JAVA
|
||||
/* This is the uno_ext_getMapping function in the Java/UNO bridge */
|
||||
void SAL_CALL java_uno_ext_getMapping(
|
||||
struct _uno_Mapping ** ppMapping,
|
||||
struct _uno_Environment * pFrom,
|
||||
struct _uno_Environment * pTo )
|
||||
SAL_THROW_EXTERN_C();
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -329,6 +329,11 @@ static uno_ext_getMappingFunc selectMapFunc( const OUString & rBridgeName )
|
|||
{
|
||||
if (rBridgeName.equalsAscii( CPPU_CURRENT_LANGUAGE_BINDING_NAME "_uno" ))
|
||||
return CPPU_ENV_uno_ext_getMapping;
|
||||
#ifdef SOLAR_JAVA
|
||||
if (rBridgeName.equalsAscii( "java" "_uno" ))
|
||||
return java_uno_ext_getMapping;
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
// I don't think the affine or log bridges will be needed on any
|
||||
// DISABLE_DYNLOADING platform (iOS at least, possibly Android), but if
|
||||
|
|
Loading…
Reference in a new issue