[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:39:40 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=76948ce
The following commit has been merged in the master branch:
commit 76948ce10857024873a600fc6318356b5e16434e
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Thu Jul 31 09:30:36 2008 +0000
Minor doc fixes.
---
src/tiffcomposite_int.hpp | 1 +
src/types.hpp | 10 ++++------
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/tiffcomposite_int.hpp b/src/tiffcomposite_int.hpp
index 76799ac..a7e7a5e 100644
--- a/src/tiffcomposite_int.hpp
+++ b/src/tiffcomposite_int.hpp
@@ -400,6 +400,7 @@ namespace Exiv2 {
void encode(TiffEncoder& encoder, const Exifdatum* datum);
//! Set the offset
void setOffset(int32_t offset) { offset_ = offset; }
+ //! Set pointer and size of the entry's data.
void setData(byte* pData, int32_t size);
/*!
@brief Update the value. Takes ownership of the pointer passed in.
diff --git a/src/types.hpp b/src/types.hpp
index 299c21d..6714db6 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -204,8 +204,7 @@ namespace Exiv2 {
@brief Utility class containing a character array. All it does is to take
care of memory allocation and deletion. Its primary use is meant to
be as a stack variable in functions that need a temporary data
- buffer. Todo: this should be some sort of smart pointer,
- essentially an std::auto_ptr for a character array. But it isn't...
+ buffer.
*/
class DataBuf {
public:
@@ -236,10 +235,9 @@ namespace Exiv2 {
*/
DataBuf& operator=(DataBuf& rhs);
/*!
- Allocate a data buffer of at least the given size
-
- Note that if the requested \em size is less than the current buffer
- size, no new memory is allocated and the buffer size doesn't change.
+ @brief Allocate a data buffer of at least the given size. Note that if
+ the requested \em size is less than the current buffer size, no
+ new memory is allocated and the buffer size doesn't change.
*/
void alloc(long size);
/*!
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list