author | Francesco Abbate <francesco.bbt@gmail.com> | 2012年06月17日 23:25:50 +0200 |
---|---|---|
committer | Francesco Abbate <francesco.bbt@gmail.com> | 2012年06月20日 09:23:22 +0200 |
commit | 29309ebb162dabd6b533f3c48fac88e13bf3e570 (patch) | |
tree | 85b17221d94ce6093814f0de15ee544551e1bf2d | |
parent | f1cc3c79cb0a13eeae34cfdf6bdcf1e7dc5eafc1 (diff) | |
download | gsl-shell-29309ebb162dabd6b533f3c48fac88e13bf3e570.tar.gz |
-rw-r--r-- | agg-plot/strpp.h | 1 |
diff --git a/agg-plot/strpp.h b/agg-plot/strpp.h index f1fdfe80..c241fea7 100644 --- a/agg-plot/strpp.h +++ b/agg-plot/strpp.h @@ -17,6 +17,7 @@ public: } const char* cstr() const { return CSTR(this); } + unsigned len() const { return this->length; } void append(const str& s, int sep = 0) { str_append(this, &s, sep); } void append(const char* s, int sep = 0) { str_append_c(this, s, sep); } |