Difference between revisions of "Uno/Binary/Spec/Identity Mapping"
From Apache OpenOffice Wiki
m (OpenOffice.org Wiki:Spec Uno Bin Identity Mapping moved to Uno/Binary/Spec/Identity Mapping) |
m |
||
Line 1: | Line 1: | ||
− | |||
version: {{REVISIONID}} <br> | version: {{REVISIONID}} <br> | ||
state: final <br> | state: final <br> | ||
− | |||
type: specification <br> | type: specification <br> | ||
− | + | == Identity Mapping == | |
− | + | ||
; Feature | ; Feature | ||
Line 24: | Line 21: | ||
; Dependencies: None. | ; Dependencies: None. | ||
+ | |||
+ | [[Category:Uno:Binary:Spec]] |
Revision as of 15:33, 18 April 2006
version: 8224
state: final
type: specification
Identity Mapping
- Feature
- The Binary UNO runtime currently returns no mapping, in case of a identity request
"A"
->"A"
. The UNO runtime should return an indentity-mapping in case of an identity request.
- Rationale
- Generic functions, e.g. as in cppuhelper/bootstrap.cxx, currently need to care about the identity of environments, this is cumbersome and leads to duplicate code.
- API
- None.
- Compatibility Issues
- The UNO runtime function
-
void SAL_CALL uno_getMapping(uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose) SAL_THROW_EXTERN_C();
- returns an identity-mapping, in case pFrom == pTo, instead of NULL.
- Dependencies
- None.