[Github-comments] [geany] documents_array not exported (#964)

elextr notifications at xxxxx
Mon Mar 14 04:41:46 UTC 2016


@codebrainz you could use the hated foreach macro then.

There is an argument to be made that given the semantics of the pointers in `documents_array` could be dangerous, since they can point to differing documents during their lifetime, it might be better to remove the array from the API instead, and leave the recommended `document_find_by_id()` as the only access.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/964#issuecomment-196136269
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160313/5c5c51c1/attachment.html>


More information about the Github-comments mailing list