结构或联合中的‘未签名的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 关注
- 594 浏览
添加回答
举报
0/150
	提交
		取消
	
 
                    