void force_cautionary (GtkAction* action, DenemoScriptParam *param) { DenemoObject *theobj = Denemo.project->movement->currentobject ? (DenemoObject *) Denemo.project->movement->currentobject->data : NULL; if (theobj && theobj->type == CHORD) caution (Denemo.project->movement); }
static gint c_caution(lua_State *ls) { lua_pushboolean(ls, caution()); return 1; }