macro out __attribute__ instead of defining
example of directory bookmarks implementation