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

Side by Side Diff: third_party/libxml/src/testOOMlib.h

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove suppressions, have landed in blink now Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 #ifndef TEST_OOM_LIB_H
2 #define TEST_OOM_LIB_H
3
4 #include <config.h>
5
6 #ifdef HAVE_SYS_TYPES_H
7 #include <sys/types.h>
8 #endif
9
10 void* test_malloc (size_t bytes);
11 void* test_realloc (void *memory,
12 size_t bytes);
13 void test_free (void *memory);
14 char* test_strdup (const char *str);
15
16 /* returns true on success */
17 typedef int (* TestMemoryFunction) (void *data);
18
19 /* returns true on success */
20 int test_oom_handling (TestMemoryFunction func,
21 void *data);
22
23 /* get number of blocks leaked */
24 int test_get_malloc_blocks_outstanding (void);
25
26 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698