Return None instead of 0 for data_size of types with no fixed layout