summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/convert.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-02-08 19:37:51 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-02-08 19:37:51 +0000
commit1afb1cfea4f2ea66962faef01d729014bdc9eb56 (patch)
treef01902b162d95b5fb3e8bf8865ac7387df42aa4f /libs/pbd/pbd/convert.h
parent222c18d18afe76228775c0d73004e9c77bea611e (diff)
add variants of atoi etc. for std::string
git-svn-id: svn://localhost/ardour2/branches/3.0@6651 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/convert.h')
-rw-r--r--libs/pbd/pbd/convert.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libs/pbd/pbd/convert.h b/libs/pbd/pbd/convert.h
index f8358e8801..e6e063bf41 100644
--- a/libs/pbd/pbd/convert.h
+++ b/libs/pbd/pbd/convert.h
@@ -31,10 +31,12 @@ namespace PBD {
std::string short_version (std::string, std::string::size_type target_length);
-int atoi (const std::string&);
-double atof (const std::string&);
-void url_decode (std::string&);
-void url_decode (Glib::ustring&);
+int atoi (const std::string&);
+int32_t atol (const std::string&);
+int64_t atoll (const std::string&);
+double atof (const std::string&);
+void url_decode (std::string&);
+void url_decode (Glib::ustring&);
// std::string length2string (const int32_t frames, const float sample_rate);
std::string length2string (const int64_t frames, const double sample_rate);