diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-29 19:10:57 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-12-30 22:22:33 +0000 |
commit | 3763beb4898b89eb7021fcd4427d2944cd9bc575 (patch) | |
tree | a17f3ee4f1cc85e94b9ad39b654acb810c5cb489 /Doc/Manual/Arguments.html | |
parent | 4e67d5c7a810048d9024a699a4d5d676f5a69b82 (diff) | |
download | swig-3763beb4898b89eb7021fcd4427d2944cd9bc575.tar.gz |
Replace tabs with spaces in html docs
wkhtmltopdf is not expanding tabs within <pre> elements to 8 spaces as it
should. Workaround the problem by converting all tabs to an appropriate
number of spaces.
Diffstat (limited to 'Doc/Manual/Arguments.html')
-rw-r--r-- | Doc/Manual/Arguments.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/Manual/Arguments.html b/Doc/Manual/Arguments.html index db46359d5..48ec5c629 100644 --- a/Doc/Manual/Arguments.html +++ b/Doc/Manual/Arguments.html @@ -60,7 +60,7 @@ Suppose you had a C function like this: <div class="code"><pre> void add(double a, double b, double *result) { - *result = a + b; + *result = a + b; } </pre></div> @@ -204,7 +204,7 @@ input value: </p> <div class="code"><pre> -int *INPUT +int *INPUT short *INPUT long *INPUT unsigned int *INPUT @@ -221,7 +221,7 @@ function: <div class="code"><pre> double add(double *a, double *b) { - return *a+*b; + return *a+*b; } </pre></div> @@ -273,7 +273,7 @@ These methods can be used as shown in an earlier example. For example, if you ha <div class="code"><pre> void add(double a, double b, double *c) { - *c = a+b; + *c = a+b; } </pre></div> @@ -339,7 +339,7 @@ A C function that uses this might be something like this:</p> <div class="code"><pre> void negate(double *x) { - *x = -(*x); + *x = -(*x); } </pre></div> |