Now the module for plotting graphs is functional. - 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:
authorFrancesco Abbate <francesco.bbt@gmail.com>2009年11月29日 18:20:31 +0000
committerFrancesco Abbate <francesco.bbt@gmail.com>2009年11月29日 18:20:31 +0000
commit80e5324cf70c55e96f3aa405153ed1930a26abf7 (patch)
treeaf7440cd539394f5710abbcb260e51935ffda3d2 /agg-plot/string_printf.cpp
parent67e863fa3eef8e476507d58b7a21e7018ed56a28 (diff)
downloadgsl-shell-80e5324cf70c55e96f3aa405153ed1930a26abf7.tar.gz
Now the module for plotting graphs is functional.
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月21日 11:54:05 +0000

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