結構或聯合中的‘未簽名的TEP:3’是什么意思?我試圖使用JNA將C結構映射到Java。我遇到了一些我從未見過的東西。這個struct定義如下:struct op
{
unsigned op_type:9; //---> what does this mean?
unsigned op_opt:1;
unsigned op_latefree:1;
unsigned op_latefreed:1;
unsigned op_attached:1;
unsigned op_spare:3;
U8 op_flags;
U8 op_private;};您可以看到一些變量被定義為unsigned op_attached:1我不知道那會意味著什么。這會影響分配給這個特定變量的字節數嗎?
- 3 回答
- 0 關注
- 581 瀏覽
添加回答
舉報
0/150
提交
取消