{"id":100,"date":"2011-05-22T08:31:42","date_gmt":"2011-05-22T08:31:42","guid":{"rendered":"http:\/\/devnot.wordpress.com\/?p=100"},"modified":"2011-05-22T08:31:42","modified_gmt":"2011-05-22T08:31:42","slug":"optionally-compiling-a-function-method","status":"publish","type":"post","link":"https:\/\/thomas-jansen.eu\/?p=100","title":{"rendered":"Optionally compiling a function \/ method"},"content":{"rendered":"<p>Optional compiling is useful to include additional testing or diagnostics.<\/p>\n<p>In the top of the file or in the project settings create a define and use the Conditional attribute for the function \/ method<\/p>\n<p>#define MY_DEFINE<\/p>\n<p>[Conditional(&#8220;MY_DEFINE\u201d)]<\/p>\n<p>void function()<\/p>\n<p>{<\/p>\n<p>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Optional compiling is useful to include additional testing or diagnostics. In the top of the file or in the project settings create a define and use the Conditional attribute for the function \/ method #define MY_DEFINE [Conditional(&#8220;MY_DEFINE\u201d)] void function() { }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[51],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-c","tag-optional-compiling"],"_links":{"self":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=100"}],"version-history":[{"count":0,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/100\/revisions"}],"wp:attachment":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}