diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-12-06 19:44:58 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-12-06 19:44:58 +0000 |
commit | 3ecf433432289b9c1990165f65bdd51aaad2eaa7 (patch) | |
tree | dc7bd5c5b4eb37d49b1a37ca1f33c9d9ed2a8374 /gst/debug | |
parent | f2085bd7ef2a4e685b8a58ae0848c43aab0d8747 (diff) |
expand tabs
Original commit message from CVS:
expand tabs
Diffstat (limited to 'gst/debug')
-rw-r--r-- | gst/debug/tests.c | 30 | ||||
-rw-r--r-- | gst/debug/tests.h | 16 |
2 files changed, 23 insertions, 23 deletions
diff --git a/gst/debug/tests.c b/gst/debug/tests.c index d3324f32..bba3eb55 100644 --- a/gst/debug/tests.c +++ b/gst/debug/tests.c @@ -415,14 +415,14 @@ md5_process_block (const void *buffer, size_t len, MD5Test * ctx) before the computation. To reduce the work for the next steps we store the swapped words in the array CORRECT_WORDS. */ -#define OP(a, b, c, d, s, T) \ - do \ - { \ - a += FF (b, c, d) + (*cwp++ = GUINT32_TO_LE (*words)) + T; \ - ++words; \ - CYCLIC (a, s); \ - a += b; \ - } \ +#define OP(a, b, c, d, s, T) \ + do \ + { \ + a += FF (b, c, d) + (*cwp++ = GUINT32_TO_LE (*words)) + T; \ + ++words; \ + CYCLIC (a, s); \ + a += b; \ + } \ while (0) /* It is unfortunate that C does not provide an operator for @@ -457,13 +457,13 @@ md5_process_block (const void *buffer, size_t len, MD5Test * ctx) in CORRECT_WORDS. Redefine the macro to take an additional first argument specifying the function to use. */ #undef OP -#define OP(f, a, b, c, d, k, s, T) \ - do \ - { \ - a += f (b, c, d) + correct_words[k] + T; \ - CYCLIC (a, s); \ - a += b; \ - } \ +#define OP(f, a, b, c, d, k, s, T) \ + do \ + { \ + a += f (b, c, d) + correct_words[k] + T; \ + CYCLIC (a, s); \ + a += b; \ + } \ while (0) /* Round 2. */ diff --git a/gst/debug/tests.h b/gst/debug/tests.h index 5638bf6d..444a1c19 100644 --- a/gst/debug/tests.h +++ b/gst/debug/tests.h @@ -26,14 +26,14 @@ typedef struct _GstTestInfo GstTestInfo; struct _GstTestInfo { - GParamSpec * (* get_spec) (const GstTestInfo *info, gboolean compare_value); - gpointer (* new) (const GstTestInfo *info); - void (* add) (gpointer test, - GstBuffer *buffer); - gboolean (* finish) (gpointer test, GValue *value); - void (* get_value) (gpointer test, - GValue *value); - void (* free) (gpointer test); + GParamSpec * (* get_spec) (const GstTestInfo *info, gboolean compare_value); + gpointer (* new) (const GstTestInfo *info); + void (* add) (gpointer test, + GstBuffer *buffer); + gboolean (* finish) (gpointer test, GValue *value); + void (* get_value) (gpointer test, + GValue *value); + void (* free) (gpointer test); }; extern const GstTestInfo tests[]; |