[Vala] methods/properties missing for some integral data types
- From: Wolfgang Schlichtner <wolfgang schlichtner posteo at>
- To: vala-list gnome org
- Subject: [Vala] methods/properties missing for some integral data types
- Date: Sun, 08 Dec 2013 23:34:05 +0100
Hi,
i noticed that some methods/properties are implemented for some integral
types but aren't for others, see the following table:
u u u u
s s u u i i i i i i
h h u l l i i n n n n n n
o o i i o o n n t t t t t t
r r n n n n t t 1 1 3 3 6 6
t t t t g g 8 8 6 6 2 2 4 4
object ─────────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼──
to_string + + + + + + + + + + + + + +
clamp + + + + + + + + + + + + + +
abs o + o + o o o o + o
to_big_endian + + + + o o + + + + + +
to_little_endian + + + + o o + + + + + +
swap_big_endian_pdp o o + +
swap_little_endian_pdp o o + +
swap_little_endian_big_endian o o + + +
to_pointer + +
class ──────────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼──
MIN + + + + + + + + + + + + + +
MAX + + + + + + + + + + + + + +
min + + + + + + + + + + + + + +
max + + + + + + + + + + + + + +
FORMAT + + + + + +
FORMAT_MODIFIER + + + + + +
parse + + + +
try_parse + +
from_big_endian + + + + o o + + + + + +
from_little_endian + + + + o o + + + + + +
to_network o o + +
from_network o o + +
this seems especially wrong to me for:
abs(), parse() and try_parse()
am i missing something? is this by intention?
Regards
Wolfgang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]