Difference between revisions of "Uno/Binary/Spec/Identity Mapping"

From Apache OpenOffice Wiki
< Uno‎ | Binary
Jump to: navigation, search
(moved from udk.openoffice.org)
 
m (Reverted edits by FlvConverter (Talk); changed back to last version by Kr)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
author[[User:Kr|Kr]] <br>
+
State: final Type: Specification
version: {{REVISIONID}} <br>
+
state:  final          <br>
+
created: 12/16/2005    <br>
+
type:    specification  <br>
+
  
== Binary UNO ==
+
The Binary Uno runtime currently returns no mapping, in case of a identity request <code>"A"</code> -> <code>"A"</code>. The Uno runtime should return an indentity-mapping in case of an identity request.
=== Identity Mapping ===
+
  
; Feature
+
==Rationale==
: The Binary UNO runtime currently returns no mapping, in case of a identity request <code>"A"</code> -> <code>"A"</code>. The UNO runtime should return an indentity-mapping in case of an identity request.
+
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.
  
; Rationale
+
==API==
: 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.
+
The Uno runtime function
 +
<code>void SAL_CALL uno_getMapping(uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose) SAL_THROW_EXTERN_C();</code>
 +
returns an identity-mapping, in case pFrom == pTo, instead of NULL.
  
; API: None.
 
  
; Compatibility Issues
+
[[Category:Spec]]
: The UNO runtime function
+
[[Category:Uno]]
 
+
[[Category:Uno:Binary]]
: <code>void SAL_CALL uno_getMapping(uno_Mapping ** ppMapping, uno_Environment * pFrom, uno_Environment * pTo, rtl_uString * pAddPurpose) SAL_THROW_EXTERN_C();</code>
+
 
+
: returns an identity-mapping, in case pFrom == pTo, instead of NULL.
+
 
+
; Dependencies: None.
+

Latest revision as of 18:23, 25 June 2007

State: final Type: Specification

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

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.

Personal tools