[gtk-doc] tests: add test case for Bug #481811
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] tests: add test case for Bug #481811
- Date: Tue, 13 Jul 2010 13:32:23 +0000 (UTC)
commit 5fdb82a4b7e71a4801bffc62fc3cb2937b7c7e79
Author: Stefan Kost <ensonic users sf net>
Date: Tue Jul 13 16:31:41 2010 +0300
tests: add test case for Bug #481811
tests/bugs/docs/tester-sections.txt | 1 +
tests/bugs/src/tester.h | 14 ++++++++++++++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/tests/bugs/docs/tester-sections.txt b/tests/bugs/docs/tester-sections.txt
index ed2910e..f12323d 100644
--- a/tests/bugs/docs/tester-sections.txt
+++ b/tests/bugs/docs/tester-sections.txt
@@ -19,6 +19,7 @@ bug_445693
bug_460127
bug_471014
bug_477532
+bug_481811
bug_501038
bug_512155a_function_pointer_t
bug_512155b_function_pointer_t
diff --git a/tests/bugs/src/tester.h b/tests/bugs/src/tester.h
index 7e5053c..6eb16da 100644
--- a/tests/bugs/src/tester.h
+++ b/tests/bugs/src/tester.h
@@ -20,6 +20,20 @@ typedef enum {
} Bug324535;
+
+/**
+ * bug_481811:
+ * @x: argument
+ *
+ * http://bugzilla.gnome.org/show_bug.cgi?id=481811
+ **/
+G_INLINE_FUNC double
+bug_481811(double x)
+{
+ return g_random_double_range(x,x*x);
+}
+
+
/**
* bug_501038:
* @a: value
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]