{"action":"created","issue":{"url":"https://api.github.com/repos/svaarala/duktape/issues/765","repository_url":"https://api.github.com/repos/svaarala/duktape","labels_url":"https://api.github.com/repos/svaarala/duktape/issues/765/labels{/name}","comments_url":"https://api.github.com/repos/svaarala/duktape/issues/765/comments","events_url":"https://api.github.com/repos/svaarala/duktape/issues/765/events","html_url":"https://github.com/svaarala/duktape/issues/765","id":153854798,"number":765,"title":"Deprecate DUK_DEFPROP_HAVE_XXX?","user":{"login":"fatcerberus","id":4097841,"avatar_url":"https://avatars.githubusercontent.com/u/4097841?v=3","gravatar_id":"","url":"https://api.github.com/users/fatcerberus","html_url":"https://github.com/fatcerberus","followers_url":"https://api.github.com/users/fatcerberus/followers","following_url":"https://api.github.com/users/fatcerberus/following{/other_user}","gists_url":"https://api.github.com/users/fatcerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/fatcerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatcerberus/subscriptions","organizations_url":"https://api.github.com/users/fatcerberus/orgs","repos_url":"https://api.github.com/users/fatcerberus/repos","events_url":"https://api.github.com/users/fatcerberus/events{/privacy}","received_events_url":"https://api.github.com/users/fatcerberus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/svaarala/duktape/labels/api","name":"api","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/svaarala/duktape/milestones/5","html_url":"https://github.com/svaarala/duktape/milestones/v2.0.0","labels_url":"https://api.github.com/repos/svaarala/duktape/milestones/5/labels","id":840957,"number":5,"title":"v2.0.0","description":"","creator":{"login":"svaarala","id":6377415,"avatar_url":"https://avatars.githubusercontent.com/u/6377415?v=3","gravatar_id":"","url":"https://api.github.com/users/svaarala","html_url":"https://github.com/svaarala","followers_url":"https://api.github.com/users/svaarala/followers","following_url":"https://api.github.com/users/svaarala/following{/other_user}","gists_url":"https://api.github.com/users/svaarala/gists{/gist_id}","starred_url":"https://api.github.com/users/svaarala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svaarala/subscriptions","organizations_url":"https://api.github.com/users/svaarala/orgs","repos_url":"https://api.github.com/users/svaarala/repos","events_url":"https://api.github.com/users/svaarala/events{/privacy}","received_events_url":"https://api.github.com/users/svaarala/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":20,"state":"open","created_at":"2014-10-26T15:05:37Z","updated_at":"2016-05-12T02:14:34Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-05-09T19:50:14Z","updated_at":"2016-05-12T13:50:58Z","closed_at":null,"body":"In Duktape 1.3.0 (or was it 1.4.0?), Duktape added the convenience flags `DUK_DEFPROP_SET_XXX` and `DUK_DEFPROP_CLEAR_XXX`.  In light of these, the original `DUK_DEFPROP_HAVE_XXX` variants seem redundant.  If you want to leave one of the flags as-is, you can just not pass a set or clear flag for it.  The HAVE_XXX variants are thus not needed for the 3-way logic."},"comment":{"url":"https://api.github.com/repos/svaarala/duktape/issues/comments/218763112","html_url":"https://github.com/svaarala/duktape/issues/765#issuecomment-218763112","issue_url":"https://api.github.com/repos/svaarala/duktape/issues/765","id":218763112,"user":{"login":"svaarala","id":6377415,"avatar_url":"https://avatars.githubusercontent.com/u/6377415?v=3","gravatar_id":"","url":"https://api.github.com/users/svaarala","html_url":"https://github.com/svaarala","followers_url":"https://api.github.com/users/svaarala/followers","following_url":"https://api.github.com/users/svaarala/following{/other_user}","gists_url":"https://api.github.com/users/svaarala/gists{/gist_id}","starred_url":"https://api.github.com/users/svaarala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svaarala/subscriptions","organizations_url":"https://api.github.com/users/svaarala/orgs","repos_url":"https://api.github.com/users/svaarala/repos","events_url":"https://api.github.com/users/svaarala/events{/privacy}","received_events_url":"https://api.github.com/users/svaarala/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T13:50:58Z","updated_at":"2016-05-12T13:50:58Z","body":"Why would it be more inconvenient? For example, if there was an API call to push an object and define properties directly using a format string and a vararg list, there would be a single line to push a property descriptor (assuming no value or setter/getter was needed from value stack - but those are popped by `duk_def_prop()` as is)."}}