2016-08-07 01:14:31 +03:00
|
|
|
/*
|
|
|
|
* fmt-pango.h - Format strings for Pango markup
|
|
|
|
*
|
|
|
|
* Written 2016 by Werner Almesberger
|
|
|
|
* Copyright 2016 by Werner Almesberger
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef FMT_PANGO_H
|
|
|
|
#define FMT_PANGO_H
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
|
|
|
|
unsigned vsfmt_pango(char *buf, const char *fmt, va_list ap);
|
|
|
|
char *vfmt_pango(const char *fmt, va_list ap);
|
2016-08-17 10:36:54 +03:00
|
|
|
char *fmt_pango(const char *fmt, ...)
|
|
|
|
__attribute__((format(printf, 1, 2)));
|
2016-08-07 01:14:31 +03:00
|
|
|
|
|
|
|
#endif /* !FMT_PANGO_H */
|