• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

Makefile.amH A D19-Apr-2019887 3321

Makefile.inH A D03-May-202233.8 KiB893791

READMEH A D19-Apr-20191.7 KiB6042

asnprintf.cH A D19-Apr-20191.2 KiB4116

gst-printf.hH A D19-Apr-20191.9 KiB6024

meson.buildH A D19-Apr-20192.5 KiB8572

printf-args.cH A D19-Apr-20193.8 KiB134109

printf-args.hH A D19-Apr-20193.1 KiB148111

printf-extension.cH A D19-Apr-20191.6 KiB5123

printf-extension.hH A D19-Apr-20191.4 KiB326

printf-parse.cH A D19-Apr-201913.7 KiB482394

printf-parse.hH A D19-Apr-20192.4 KiB8242

printf.cH A D19-Apr-20193.2 KiB160104

printf.hH A D19-Apr-20192 KiB6534

vasnprintf.cH A D19-Apr-201930.9 KiB1,042875

vasnprintf.hH A D19-Apr-20192.2 KiB6224

README

1The files
2
3 asnprintf.c
4 printf-args.c
5 printf-args.h
6 printf-parse.c
7 printf-parse.h
8 vasnprintf.c
9 vasnprintf.h
10
11are taken from the vasnprintf module of the GNUlib package, which can
12be found at:
13
14 http://www.gnu.org/software/gnulib/
15
16All files have been modified to include g-gnulib.h.
17
18vasnprintf.c has also been modified to include support for long long
19printing if the system printf doesn't. This code is protected by
20#ifndef HAVE_LONG_LONG_FORMAT.
21
22Code has been added to printf-args.[ch], printf-parse.c and vasnprintf.c
23to support printing of __int64 values with the I64 format modifier. This
24is protected by #ifdef HAVE_INT64_AND_I64.
25
26The files
27
28 printf.h
29 printf.c
30 g-gnulib.h
31
32have been written by me. printf.[hc] contain implementations of the
33remaining functions in the printf family based on vasnprintf.
34g-gnulib.h is included by all source files in order to move all
35exported functions to the _g_gnulib namespace, replace malloc by
36g_malloc and make sure that snprintf is only used if it implements
37C99 return value semantics.
38
39Matthias Clasen
40November 1, 2003
41
42-----
43
44GStreamer modifications
45
46This was imported from GLib's gnulib subdirectory.
47
48g-gnulib.h and _g_gnulib namespace has been changed to gst-printf.h and
49__gst_printf namespace for GStreamer. Also #define HAVE_SNPRINTF 0 has
50been changed to #undef HAVE_SNPRINTF, and HAVE_ALLOCA has been replaced
51by an #if defined(alloca) || defined(GLIB_HAVE_ALLOCA_H)
52
53printf-extension.[ch] were added to provide support for custom pointer
54arguments (e.g. caps, events, etc.)
55
56Files have also been indented with gst-indent, so this is basically a
57permanent fork and any patches will have to be merged manually.
58
59March 30, 2013.
60