You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef YSBITFIELD_H
|
|
#define YSBITFIELD_H
|
|
|
|
#include <stdbool.h>
|
|
#import "YSObject.h"
|
|
|
|
@interface YSBitField : YSObject {
|
|
int x : 1;
|
|
int y : 1;
|
|
int z : 1;
|
|
int w : 1;
|
|
int h : 4;
|
|
}
|
|
|
|
-(bool) x;
|
|
-(bool) y;
|
|
-(bool) z;
|
|
-(bool) w;
|
|
-(unsigned int) h;
|
|
|
|
@end
|
|
|
|
#endif |