lib/igt_core: Document library design best practices
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 16 Mar 2014 18:34:37 +0000 (19:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Mar 2014 09:43:20 +0000 (10:43 +0100)
commit10571b8ccb5f7bda61e3072705e5d0670f54afb3
tree26f644672ee88ed1b620277879ccae7cf4e03ae1
parent3ea97f2e51e8bf39ecabae132cdc6b431c72f672
lib/igt_core: Document library design best practices

This is what I've been doing in the past few months when refactoring
i-g-t code. More ideas and also patterns to add highly welcome.

v2: Some minor polish on the text and add another bullet to reference
the kernel's coding style.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/igt_core.c