From 10e3e5d4ef04e4b6318aa05795dd5aba60ded689 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 5 Dec 2017 11:16:48 +0100 Subject: lib: avoid < in gtkdoc comments For reasons entirely not clear to me meson gtkdoc runs in strict xml parsing mode, whereas automake gtkdoc doesn't. And gtkdoc itself is tooooooooo dense to correctly escape this stuff. Paper around this. v2: {foo} instead of of tripy <foo> (Joonas) v3: More fixups (Joonas) Cc: Joonas Lahtinen Reviewed-by: Petri Latvala Signed-off-by: Daniel Vetter --- lib/igt_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/igt_core.c') diff --git a/lib/igt_core.c b/lib/igt_core.c index 03fa6e4e..777687b5 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -167,10 +167,10 @@ * test logic. * * - When adding a new feature test function which uses igt_skip() internally, - * use the _require_ naming scheme. When you + * use the {prefix}_require_{feature_name} naming scheme. When you * instead add a feature test function which returns a boolean, because your * main test logic must take different actions depending upon the feature's - * availability, then instead use the _has_. + * availability, then instead use the {prefix}_has_{feature_name}. * * - As already mentioned eschew explicit error handling logic as much as * possible. If your test absolutely has to handle the error of some function -- cgit v1.2.3