Fix broken markup in HACKING
Make "*_foreach" an inline literal to escape the asterisk and so fix broken markup by the unbalanced asterisk which would start an emphasis otherwise. HACKING:223: (WARNING/2) Inline emphasis start-string without end-string.
This commit is contained in:
parent
0ce5d5484e
commit
c88c27e2d2
2
HACKING
2
HACKING
@ -222,7 +222,7 @@ Coding
|
||||
which cannot be negative rather than ``gint``.
|
||||
* Prefer loops to calling ``some_type_foreach()`` with a ``user_data``
|
||||
argument. (Note: Some containers don't support external iteration,
|
||||
e.g. for tree structures, so *_foreach is fine for those).
|
||||
e.g. for tree structures, so ``*_foreach`` is fine for those).
|
||||
* Do not use G_LIKELY or G_UNLIKELY (except in critical loops). These
|
||||
add noise to the code with little real benefit.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user