diff options
Diffstat (limited to 'macros/texinfo/texinfo/tp/Texinfo/XS/XSParagraph.xs')
-rw-r--r-- | macros/texinfo/texinfo/tp/Texinfo/XS/XSParagraph.xs | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/macros/texinfo/texinfo/tp/Texinfo/XS/XSParagraph.xs b/macros/texinfo/texinfo/tp/Texinfo/XS/XSParagraph.xs index 5a0b117e09..9c17032cdf 100644 --- a/macros/texinfo/texinfo/tp/Texinfo/XS/XSParagraph.xs +++ b/macros/texinfo/texinfo/tp/Texinfo/XS/XSParagraph.xs @@ -11,9 +11,9 @@ #include "xspara.h" -MODULE = Texinfo::XS::XSParagraph PACKAGE = Texinfo::XS::XSParagraph PREFIX = xspara_ +MODULE = Texinfo::Convert::Paragraph PACKAGE = Texinfo::Convert::Paragraph PREFIX = xspara_ -# Copyright 2010-2019 Free Software Foundation, Inc. +# Copyright 2010-2020 Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,7 +46,6 @@ SV * xspara_new (class, ...) SV * class PREINIT: - HV *pkg; HV *conf = 0; int id; CODE: @@ -58,9 +57,8 @@ xspara_new (class, ...) } id = xspara_new (conf); - /* Create a blessed integer, which the other functions + /* Create an integer, which the other functions need as their first argument. */ - pkg = gv_stashpv ("Texinfo::Convert::XSParagraph::XSParagraph", 0); RETVAL = newSViv (id); OUTPUT: RETVAL @@ -228,7 +226,7 @@ xspara_allow_end_sentence (paragraph) # Optional parameters are IGNORE_COLUMNS, KEEP_END_LINES, FRENCHSPACING, # DOUBLE_WIDTH_NO_BREAK. # Pass them to the C function as -1 if not given or undef. -char * +void xspara_set_space_protection (paragraph, space_protection_in, ...) SV *paragraph SV * space_protection_in @@ -274,9 +272,7 @@ xspara_set_space_protection (paragraph, space_protection_in, ...) } xspara_set_state (paragraph); - RETVAL = xspara_set_space_protection + xspara_set_space_protection (space_protection, ignore_columns, keep_end_lines, french_spacing, double_width_no_break); - OUTPUT: - RETVAL |