en:docs:tk:som:progg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:tk:som:progg [2024/11/09 08:38] prokusheven:docs:tk:som:progg [2024/11/09 09:38] (current) prokushev
Line 1: Line 1:
 ====== C Mapping ====== ====== C Mapping ======
 +
 +IBM SOM development was based on CORBA 1.1 specifications. But in later CORBA standards some changes (and incompatibilities) was introduced:
 +
 +  - Most of CORBA C mapping now has CORBA_ prefix (CORBA 1.2 p.79 4.11 CORBA Module).
 +  - Up to CORBA 1.2 CORBA_Environment mapped to second argument of method function. But CORBA 2.0 changed this to last argument (CORBA 2.0 p.14-5 14.3 Mapping for Interfaces).
 +  - Interface Repository interfaces was changed in CORBA 2.0. Description structure not contains member 'name' but member 'kind' with different type. (CORBA 2.0 p.6-10 6.5.3 Contained).
 +  - CORBA 2.1 introduces wide chars (CORBA 2.1 p.1-17 wchar/wstring...
 +  - CORBA 3 changed idl file names. (https://www.omg.org/spec/CORBA/3.3)
  
 somFree supports C Language Mapping Specification to be CORBA 2+ compatible. But it still support CORBA 1.1 C Mapping. To switch back to CORBA 1.1 Mapping use CORBA1MAPPING define.  somFree supports C Language Mapping Specification to be CORBA 2+ compatible. But it still support CORBA 1.1 C Mapping. To switch back to CORBA 1.1 Mapping use CORBA1MAPPING define.