For Factor, integers are either fixnum or bignum size. For C, you tell it
how many bytes it occupies according to the C header. Generally the sizes
are the same across platforms. If they aren't, you might need two different
STRUCT: declarations like in basis/unix/stat/linux/32/32.factor
and basis/unix/stat/linux/64/64.factor.

The main point -- function signatures and struct declarations usually
handle the integer sizes and you shouldn't have to think much about it. Do
you have a specific example?
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to