[Github-comments] [geany/geany] Gi signals (#1038)
Matthew Brush
notifications at xxxxx
Thu Jun 23 14:29:28 UTC 2016
> @@ -3250,6 +3250,7 @@ void scintilla_release_resources(void) {
> static void *copy_(void *src) { return src; }
> static void free_(void *doc) { }
>
> +GEANY_API_SYMBOL
> GType scnotification_get_type(void) {
> static gsize type_id = 0;
> It's kinda odd g_once_init_*() API claims a void* pointer though, so I don't know.
Yeah, and I think even `gsize` isn't the correct type, it's probably meant to be `guintptr`, but oh well.
> Anyway the discussion out of scope for this PR
Code review is out of scope for this PR? At the least it could do like the code @b4n linked to, and avoid ugly (and useless) casts.
> and really minor anyway
This is true
---
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/6b5a47d05f575b321ff158044420864ee9e59889#r68244715
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160623/451ad74b/attachment.html>
More information about the Github-comments
mailing list