summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zander <thomas.e.zander@googlemail.com>2017-06-22 20:10:09 +0200
committerErik de Castro Lopo <erikd@mega-nerd.com>2017-06-23 19:42:49 +1000
commit7d3f9baedf19af347cfb8f1435b533ac5239b296 (patch)
treed9a2779218efc1b57db88e77d3443c51f8bcff55
parent8f4dffe8759ec26f894836be1616e9b31f7fdb01 (diff)
downloadflac-7d3f9baedf19af347cfb8f1435b533ac5239b296.tar.gz
FLAC++: Add missing prototype for construct_block
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
-rw-r--r--include/FLAC++/metadata.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/FLAC++/metadata.h b/include/FLAC++/metadata.h
index 9c959a01..0718e327 100644
--- a/include/FLAC++/metadata.h
+++ b/include/FLAC++/metadata.h
@@ -226,6 +226,15 @@ namespace FLAC {
inline void set_reference(bool x) { is_reference_ = x; }
};
+ // local utility routines
+
+ namespace local {
+
+ /** Construct a new object of the type provided in object->type and return it. */
+ Prototype *construct_block(::FLAC__StreamMetadata *object);
+
+ }
+
#ifdef _MSC_VER
// warning C4800: 'int' : forcing to bool 'true' or 'false' (performance warning)
#pragma warning ( disable : 4800 )