예제 #1
0
파일: camera.c 프로젝트: bjorndm/ekq
/** Sets or unsets an individual flag on the Camera. 
If set is true the flag is set, if false it's unset. */
int camera_flag_(Camera * self, int flag, int set) {
  return flags_put(&self->flags, flag, set);
}
예제 #2
0
파일: widget.c 프로젝트: beoran/eruta
/** Sets or unsets an individual flag on the widget. 
If set is true the flag is set, if false it's unset. */
int bbwidget_doflag(BBWidget * self, int flag, int set) {
  return flags_put(&self->flags, flag, set);
}
예제 #3
0
파일: thing.c 프로젝트: beoran/eruta
/** Sets or unsets an individual flag on the Thing. 
If set is true the flag is set, if false it's unset. */
int thing_flag_(Thing * self, int flag, int set) {
  return flags_put(&self->flags, flag, set);
}