gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/string_printf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/string_printf.cpp')
-rw-r--r--agg-plot/string_printf.cpp 24
1 files changed, 0 insertions, 24 deletions
diff --git a/agg-plot/string_printf.cpp b/agg-plot/string_printf.cpp
deleted file mode 100644
index 884550bd..00000000
--- a/agg-plot/string_printf.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-
-#include <string>
-#include <stdarg.h>
-
-void
-string_printf (std::string &s, const char *fmt, ...)
-{
- va_list ap;
- char *buf;
- int n;
-
- va_start (ap, fmt);
-
- n = vasprintf (&buf, fmt, ap);
- if (n <= 0)
- {
- s = "";
- return;
- }
-
- s = (const char *) buf;
- free (buf);
- va_end (ap);
-}
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月18日 00:25:34 +0000

AltStyle によって変換されたページ (->オリジナル) /