diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-01-09 14:26:26 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-01 17:08:39 -0500 |
commit | 4f8c0f49822b351d1e4bd4f733ea6eacf85e926d (patch) | |
tree | 1f73b29a9dd08d926097480280b3bb12a54fce47 /tests | |
parent | de84ea0cf212c251e099f456bb675492f664e93d (diff) | |
download | gobject-introspection-4f8c0f49822b351d1e4bd4f733ea6eacf85e926d.tar.gz |
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
Diffstat (limited to 'tests')
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 0312ab98..38e4f5a5 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 ab20921a..cd805708 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 bf4fcc7e..60150f89 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. * |