[Github-comments] [geany/geany] Gi signals (#1038)
Colomban Wendling
notifications at xxxxx
Sun Jun 5 10:03:20 UTC 2016
> @@ -183,6 +183,11 @@ typedef struct GeanyData
> struct GeanyTemplatePrefs *template_prefs; /**< Template settings */
> gpointer *_compat; /* Remove field on next ABI break (abi-todo) */
> GSList *filetypes_by_title; /**< See filetypes.h#filetypes_by_title. */
> + /** Global object signalling events via signals
> + *
> + * This is mostly for language bindings. Otherwise prefer to use
> + * plugin_signal_connect() instead this which adds automatic cleanup. */
> + GeanyObject * const object;
`const` is cute and all but mostly useless (if anything changes in that structure I prefer not imagine which hells break loose), and is both different from the rest and disallows you to fill the structure. Meh.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1038/files/058d09f360a420cc639495dbf1567f81d1194462..a52f37027e6ddccad7bc2ccf5f424fb61018427b#r65814758
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160605/0ca32774/attachment.html>
More information about the Github-comments
mailing list