Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: flac/include/share/alloc.h

Issue 6122009: Add FLAC to trunk/deps/third_party/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « flac/include/FLAC/stream_encoder.h ('k') | flac/src/libFLAC/alloc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flac/include/share/alloc.h
===================================================================
--- flac/include/share/alloc.h (revision 0)
+++ flac/include/share/alloc.h (revision 0)
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef THIRD_PARTY_FLAC_INCLUDE_SHARE_ALLOC_H
+#define THIRD_PARTY_FLAC_INCLUDE_SHARE_ALLOC_H
+
+void *safe_malloc_(size_t size);
+
+void *safe_calloc_(size_t num_items, size_t size);
+
+void *safe_malloc_add_2op_(size_t size1, size_t size2);
+
+void *safe_malloc_mul_2op_(size_t size1, size_t size2);
+
+void *safe_malloc_muladd2_(size_t size1, size_t size2, size_t size3);
+
+void *safe_realloc_mul_2op_(void *ptr, size_t size1, size_t size2);
+
+#endif // THIRD_PARTY_FLAC_INCLUDE_SHARE_ALLOC_H
Property changes on: flac/include/share/alloc.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « flac/include/FLAC/stream_encoder.h ('k') | flac/src/libFLAC/alloc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698