On 2020-06-11 19:56, Pavel Cisar wrote:
Adriano,
Dne 11. 06. 20 v 16:38 Adriano dos Santos Fernandes napsal(a):
2. Strange things with iUtil in FB 4.
a) Why methods getDecFloat16, getDecFloat34 and getInt128 require
iStatus parameter? I expected that these methods should be "safe" like
iMaster.getUtilInterface() and thus should not require iStatus.
Methods that appear in non first version of an interface should have the
status parameter as even if never return an error, it may be missing on
a previous interface, which is an error. More below.
Hmm, guess that it would make sense to have mandatory iStatus as first
parameter in each method (regardless it's use to report errors), in
any method added after initial 3.0 release. So there is in fact an
error in IDecFloat16/34 interfaces that should be fixed before final,
as BCD methods does not have it.
Pay attention - not "each method added after FB3", but "each method that
appear in non first version of an interface". I.e. DecFloat16/34
interfaces are OK.
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel