[gobject-introspection] tests: %NULL-terminated is wrong



commit 4f8c0f49822b351d1e4bd4f733ea6eacf85e926d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jan 9 14:26:26 2013 -0500

    tests: %NULL-terminated is wrong
    
    This translates into "None-terminated" in Python, which is bad.
    We should eventually strip this phrase entirely for certain languages
    with a prefilter.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693040

 .../DocExamples.Obj.method.page                    |    2 +-
 .../DocExamples.Obj.method.page                    |    2 +-
 tests/doctool/doc-examples-obj.c                   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
index 0312ab9..38e4f5a 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
@@ -70,7 +70,7 @@ created with <link xref="DocExamples.Obj.new">doc_examples_obj_new</link>.</p><p
 </tr>
 <tr>
 <td><p>string :</p></td>
-<td><p>A NULL-terminated string.</p></td>
+<td><p>A NUL-terminated string.</p></td>
 </tr>
 <tr>
 <td><p>Returns :</p></td>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
index ab20921..cd80570 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
@@ -68,7 +68,7 @@ created with <link xref="DocExamples.Obj.new">Obj.new</link>.</p><p>This should
 </tr>
 <tr>
 <td><p>string :</p></td>
-<td><p>A None-terminated string.</p></td>
+<td><p>A NUL-terminated string.</p></td>
 </tr>
 <tr>
 <td><p>Returns :</p></td>
diff --git a/tests/doctool/doc-examples-obj.c b/tests/doctool/doc-examples-obj.c
index bf4fcc7..60150f8 100644
--- a/tests/doctool/doc-examples-obj.c
+++ b/tests/doctool/doc-examples-obj.c
@@ -110,7 +110,7 @@ doc_examples_obj_new (void)
  * @pointer_arg: (allow-none): If not %NULL, do a thing.
  *   Pass @first_arg if you want to sometimes. You can
  *   also pass @second_arg, or even @boolean_arg.
- * @string: A %NULL-terminated string.
+ * @string: A NUL-terminated string.
  *
  * This is an example of how to document a method.
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]