[Github-comments] [geany/geany] build.c: Remove g_ptr_array_foreach with gpointer user_data & update HACKING (#2270)

Matthew Brush notifications at xxxxx
Sat Aug 24 01:14:05 UTC 2019


codebrainz commented on this pull request.



> @@ -219,6 +219,10 @@ Coding
   ``gint``, use a ``gchar`` for individual (ASCII/UTF-8) string
   characters rather than ``gint``, and use a ``guint`` for integers
   which cannot be negative rather than ``gint``.
+* Avoid using untyped pointers (e.g. gpointer) where practical.

Not that it matters, but I think `void` is technically an "incomplete type" rather than "untyped".

Since this rule is basically the same thing as the one above (presumably why it was placed here), I wonder if it would be better to just make it an example/extension on the previous rule?

-- 
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/2270#pullrequestreview-279268295
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190823/2ebfcd37/attachment.html>


More information about the Github-comments mailing list