ETSI's Bug Tracker - Part 06: TTCN-3 Control Interface
View Issue Details
0006333Part 06: TTCN-3 Control InterfaceNew Featurepublic20-11-2012 11:0314-12-2012 07:35
Tomas Urban 
Ina Schieferdecker 
normalminorhave not tried
closedfixed 
v4.4.1 (published 2012-04) 
v4.5.1 (published 2013-04)v4.5.1 (published 2013-04) 
9.2
Elvior
0006333: TCI C mapping: numeric version of tciSetInt and tciGetInt
The current C mapping of the tciSetInt and tciGetInt contains several functions that use either character strings or individual digits and a sign to get or set numeric values. Although this approach can be useful for dealing with very large numbers, I believe that in the most common cases, users would benefit from having a simple set and get functions using integer numbers (as it is the case in mapping to other languages). The current functions usually require writing conversion code on the adapter side (often even platform-specific), which is time-consuming and results in slower code.

Proposed functions to be added to the C mapping:
long long tciGetInt(Value inst);
void tciSetInt(Value inst, long long value);

The existing functions shall be left unchanged to keep backwards compatibility and allow handling large values (exceeding boundaries of signed 64-bit numbers).
No tags attached.
Issue History
20-11-2012 11:03Tomas UrbanNew Issue
20-11-2012 11:03Tomas UrbanClause Reference(s) => 9.2
20-11-2012 11:03Tomas UrbanSource (company - Author) => Elvior
10-12-2012 13:41Gyorgy RethyStatusnew => assigned
10-12-2012 13:41Gyorgy RethyAssigned To => Ina Schieferdecker
10-12-2012 16:39Gyorgy RethyTarget Version => Edition 4.5.1
14-12-2012 07:35Ina SchieferdeckerNote Added: 0011261
14-12-2012 07:35Ina SchieferdeckerStatusassigned => resolved
14-12-2012 07:35Ina SchieferdeckerResolutionopen => fixed
14-12-2012 07:35Ina SchieferdeckerFixed in Version => Edition 4.5.1
14-12-2012 07:35Ina SchieferdeckerStatusresolved => closed

Notes
(0011261)
Ina Schieferdecker   
14-12-2012 07:35   
Implemented as proposed.