changeset 27:e6818dcad4c6

gcc 3.2 wants \n\ for multi-line strings.
author pkienzle
date Sat, 02 Nov 2002 10:39:36 +0000
parents eff1b969ad75
children 2756744a1944
files bwfill.cc conv2.cc cordflt2.cc
diffstat 3 files changed, 33 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- a/bwfill.cc
+++ b/bwfill.cc
@@ -34,17 +34,16 @@
 }
 
 DEFUN_DLD (bwfill, args, ,
-  "[...] = bwfill (...)
-   [BW2,IDX] = BWFILL(BW1,Y,X,N) performs a flood-fill on BW1
-       
-       (X(k), Y(k)) are rows and columns of seed points
-
-   [BW2,IDX] = BWFILL(BW1,'holes',N) fills interior holes in BW1
-
-       N = 4 or 8(default) for neighborhood connectedness
-
-       IDX is the indices of the filled pixels
-       ")
+  "[...] = bwfill (...)\n\
+   [BW2,IDX] = BWFILL(BW1,Y,X,N) performs a flood-fill on BW1\n\
+\n\
+       (X(k), Y(k)) are rows and columns of seed points\n\
+\n\
+   [BW2,IDX] = BWFILL(BW1,'holes',N) fills interior holes in BW1\n\
+\n\
+       N = 4 or 8(default) for neighborhood connectedness\n\
+\n\
+       IDX is the indices of the filled pixels")
 {
    octave_value_list retval;
    octave_value tmp;
@@ -181,6 +180,9 @@
 
 /*
  * $Log$
+ * Revision 1.2  2002/11/02 10:39:36  pkienzle
+ * gcc 3.2 wants \n\ for multi-line strings.
+ *
  * Revision 1.1  2002/03/17 02:38:51  aadler
  * fill and edge detection operators
  *
--- a/conv2.cc
+++ b/conv2.cc
@@ -206,22 +206,22 @@
 }
 
 DEFUN_DLD (conv2, args, ,
-  "[...] = conv2 (...)
-CONV2: do 2 dimensional convolution
-
-  c= conv2(a,b) -> same as c= conv2(a,b,'full')
-
-  c= conv2(a,b,shape) returns 2-D convolution of a and b
-      where the size of c is given by
-     shape= 'full'  -> returns full 2-D convolution
-     shape= 'same'  -> same size as a. 'central' part of convolution
-     shape= 'valid' -> only parts which do not include zero-padded edges
-
-  c= conv2(a,b,shape) returns 2-D convolution of a and b
-
-  c= conv2(v1,v2,a) -> same as c= conv2(v1,v2,a,'full') 
-
-  c= conv2(v1,v2,a,shape) returns convolution of a by vector v1
+  "[...] = conv2 (...)\n\
+CONV2: do 2 dimensional convolution\n\
+\n\
+  c= conv2(a,b) -> same as c= conv2(a,b,'full')\n\
+\n\
+  c= conv2(a,b,shape) returns 2-D convolution of a and b\n\
+      where the size of c is given by\n\
+     shape= 'full'  -> returns full 2-D convolution\n\
+     shape= 'same'  -> same size as a. 'central' part of convolution\n\
+     shape= 'valid' -> only parts which do not include zero-padded edges\n\
+\n\
+  c= conv2(a,b,shape) returns 2-D convolution of a and b\n\
+\n\
+  c= conv2(v1,v2,a) -> same as c= conv2(v1,v2,a,'full')\n\
+\n\
+  c= conv2(v1,v2,a,shape) returns convolution of a by vector v1\n\
        in the column direction and vector v2 in the row direction ")
 {
    octave_value_list retval;
--- a/cordflt2.cc
+++ b/cordflt2.cc
@@ -178,11 +178,10 @@
 template octave_value_list do_filtering<ComplexMatrix, Complex>(ComplexMatrix, int, boolMatrix, ComplexMatrix);
 
 DEFUN_DLD(cordflt2, args, ,
-"function retval = cordflt2(A, nth, domain, S)
-
- Implementation of two-dimensional ordered filtering. User interface
- in ordfilt2.m
-")
+"function retval = cordflt2(A, nth, domain, S)\n\
+\n\
+ Implementation of two-dimensional ordered filtering. User interface\n\
+ in ordfilt2.m")
 {
     if(args.length() != 4) {
 	print_usage ("ordfilt2");