mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 03:32:12 +01:00
Mark assertion functions as G_GNUC_NORETURN. (#506461, Sebastian Dröge)
2007-12-24 Matthias Clasen <mclasen@redhat.com> * glib/gtestutils.h: * glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN. (#506461, Sebastian Dröge) svn path=/trunk/; revision=6221
This commit is contained in:
parent
227ef243b1
commit
de08b57f02
@ -1,3 +1,9 @@
|
||||
2007-12-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gtestutils.h:
|
||||
* glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN.
|
||||
(#506461, Sebastian Dröge)
|
||||
|
||||
2007-12-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gtestutils.c: Include sys/time.h. (#505258)
|
||||
|
@ -1278,10 +1278,10 @@ g_thread_pool_set_sort_function
|
||||
|
||||
#if IN_HEADER(__G_TEST_UTILS_H__)
|
||||
#if IN_FILE(__G_TEST_UTILS_C__)
|
||||
g_assertion_message
|
||||
g_assertion_message_cmpnum
|
||||
g_assertion_message_cmpstr
|
||||
g_assertion_message_expr
|
||||
g_assertion_message G_GNUC_NORETURN
|
||||
g_assertion_message_cmpnum G_GNUC_NORETURN
|
||||
g_assertion_message_cmpstr G_GNUC_NORETURN
|
||||
g_assertion_message_expr G_GNUC_NORETURN
|
||||
g_strcmp0
|
||||
g_test_add_data_func
|
||||
g_test_add_func
|
||||
|
@ -166,12 +166,12 @@ void g_assertion_message (const char *domain,
|
||||
const char *file,
|
||||
int line,
|
||||
const char *func,
|
||||
const char *message);
|
||||
const char *message) G_GNUC_NORETURN;
|
||||
void g_assertion_message_expr (const char *domain,
|
||||
const char *file,
|
||||
int line,
|
||||
const char *func,
|
||||
const char *expr);
|
||||
const char *expr) G_GNUC_NORETURN;
|
||||
void g_assertion_message_cmpstr (const char *domain,
|
||||
const char *file,
|
||||
int line,
|
||||
@ -179,7 +179,7 @@ void g_assertion_message_cmpstr (const char *domain,
|
||||
const char *expr,
|
||||
const char *arg1,
|
||||
const char *cmp,
|
||||
const char *arg2);
|
||||
const char *arg2) G_GNUC_NORETURN;
|
||||
void g_assertion_message_cmpnum (const char *domain,
|
||||
const char *file,
|
||||
int line,
|
||||
@ -188,7 +188,7 @@ void g_assertion_message_cmpnum (const char *domain,
|
||||
long double arg1,
|
||||
const char *cmp,
|
||||
long double arg2,
|
||||
char numtype);
|
||||
char numtype) G_GNUC_NORETURN;
|
||||
void g_test_add_vtable (const char *testpath,
|
||||
gsize data_size,
|
||||
gconstpointer test_data,
|
||||
|
Loading…
x
Reference in New Issue
Block a user