IO_METHOD(IoObject, daemon) { /*doc System daemon(dontChroot, dontRedirectOutputStreams) Become a daemon process. If dontChroot is false, the process will change its directory to /. If dontRedirectOutputStreams is false, stdout and stderr are redirected to /dev/null. */ if(daemon(IoMessage_locals_boolArgAt_(m, locals, 0), IoMessage_locals_boolArgAt_(m, locals, 1))) { IoState_error_(IOSTATE, self, "Daemonize failed. See System errorNumberDescription."); } return self; }
/*doc ClutterActor allocateprefferedSize(originChanged) If <code>originChanged</code> is <code>true</code>, <code>CLUTTER_ABSOLUTE_ORIGIN_CHANGED</code> flag will be used. */ IO_METHOD(IoClutterActor, allocatePrefferedSize) { clutter_actor_allocate_preferred_size( IOCACTOR(self), origin_changed_flags(IoMessage_locals_boolArgAt_(m, locals, 0)) ); return self; }
//doc ClutterActor event(clutterEvent, capture) IO_METHOD(IoClutterActor, event) { int success = clutter_actor_event( IOCACTOR(self), IOCEVENT(IoMessage_locals_clutterEventArgAt_(m, locals, 0)), IoMessage_locals_boolArgAt_(m, locals, 1)); return IOBOOL(self, success); }
//doc ClutterActor allocateAvailableSize(x, y, width, height, originChanged) IO_METHOD(IoClutterActor, allocateAvailableSize) { float x = IoMessage_locals_floatArgAt_(m, locals, 0), y = IoMessage_locals_floatArgAt_(m, locals, 1), w = IoMessage_locals_floatArgAt_(m, locals, 2), h = IoMessage_locals_floatArgAt_(m, locals, 3); int origin_changed = IoMessage_locals_boolArgAt_(m, locals, 4); clutter_actor_allocate_available_size(IOCACTOR(self), x, y, w, h, origin_changed); return self; }
//doc ClutterActor allocate(clutterActorBox, absoluteOriginChanged) IO_METHOD(IoClutterActor, allocate) { ClutterActorBox *actorBox = IOCABOX(IoMessage_locals_clutterActorBoxArgAt_(m, locals, 0)); clutter_actor_allocate( IOCACTOR(self), actorBox, origin_changed_flags(IoMessage_locals_boolArgAt_(m, locals, 1)) ); return self; }
IO_METHOD(IoDate, convertToZone) { /*doc Date convertToZone(offset, isDST) Converts self to an equivalent data in a zone with offset (minutes west) and DST (true, false). */ struct timezone tz; int mw = IoMessage_locals_intArgAt_(m, locals, 0); int dst = IoMessage_locals_boolArgAt_(m, locals, 1); tz.tz_minuteswest = mw; tz.tz_dsttime = dst; Date_convertToTimeZone_(DATA(self), tz); IoObject_isDirty_(self, 1); return self; }
IoObject *IoYajlGen_pushBool(IoYajlGen *self, IoObject *locals, IoMessage *m) { int b = IoMessage_locals_boolArgAt_(m, locals, 0); yajl_gen_bool(DATA(self), b); return self; }
/*doc Clutter setFontHinting(useFontHinting) If <code>useFontHinting</code> is <code>false</code>, <code>CLUTTER_FONT_MIPMAPPING</code> flag will be used. */ IO_METHOD(IoClutter, setFontHinting) { clutter_set_font_flags(font_hinting_flags(IoMessage_locals_boolArgAt_(m, locals, 0))); return self; }
IO_METHOD(IoClutterActor, setFixedPosition) { int state = IoMessage_locals_boolArgAt_(m, locals, 0); clutter_actor_set_fixed_position_set(IOCACTOR(self), state); return self; }