summaryrefslogtreecommitdiffstats
path: root/courgette/streams.h
diff options
context:
space:
mode:
authorbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-21 01:03:43 +0000
committerbradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-21 01:03:43 +0000
commit104a608acbf0fe57728f95d21c59ed25f61b0482 (patch)
treef62f6ce78a3379b043e0ff71cfccef0baa46d98f /courgette/streams.h
parentc840d52c54743d3353e90136fe17b8c697083d25 (diff)
downloadchromium_src-104a608acbf0fe57728f95d21c59ed25f61b0482.zip
chromium_src-104a608acbf0fe57728f95d21c59ed25f61b0482.tar.gz
chromium_src-104a608acbf0fe57728f95d21c59ed25f61b0482.tar.bz2
Also build a 64-bit exe version of the 32-bit courgette
utility + library to support larger input sizes. BUG=63793 TEST=None Review URL: http://codereview.chromium.org/5096007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69779 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/streams.h')
-rw-r--r--courgette/streams.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/courgette/streams.h b/courgette/streams.h
index 3309571..144dca7 100644
--- a/courgette/streams.h
+++ b/courgette/streams.h
@@ -126,6 +126,10 @@ class SinkStream {
// Appends the 'varint32' encoding of |value| to the stream.
void WriteVarint32Signed(int32 value);
+ // Appends the 'varint32' encoding of |value| to the stream.
+ // On platforms where sizeof(size_t) != sizeof(int32), do a safety check.
+ void WriteSizeVarint32(size_t value);
+
// Contents of |other| are appended to |this| stream. The |other| stream
// becomes retired.
void Append(SinkStream* other);