Skip to content
Snippets Groups Projects

Color management architecture: color profiles

Merged Pekka Paalanen requested to merge pq/weston:mr/color-output into main
Compare changes
  • Side-by-side
  • Inline
Files
1
  • 020ce000
    shared: add str_printf() · 020ce000
    Pekka Paalanen authored
    asprintf() has the problem that it leaves *strp undefined when it
    fails. Here is a simple wrapper that ensures NULL if asprintf() fails,
    which is much more convenient to use.
    
    This will be useful in future patches, where one needs to return error
    messages from maybe failing functions, and more.
    
    Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Loading