diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2005-11-26 09:28:20 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2005-11-26 09:28:20 +0000 |
commit | cfdad249937a030cf035bb3509278f29a44191ea (patch) | |
tree | 46389a9f7a07dbd265dd1e21ccb38cefe7fb2d3b /Lib/xml | |
parent | 55a48adb5bd5053ee995637a6b6f65efbc0446d0 (diff) | |
download | swig-cfdad249937a030cf035bb3509278f29a44191ea.tar.gz |
Use the system angle brackets for %include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/xml')
-rw-r--r-- | Lib/xml/typemaps.i | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Lib/xml/typemaps.i b/Lib/xml/typemaps.i index f6235ee8f..e604e97ca 100644 --- a/Lib/xml/typemaps.i +++ b/Lib/xml/typemaps.i @@ -13,7 +13,7 @@ #ifdef AUTODOC %section "Typemap Library (Perl 5)",info,after,pre,nosort,skip=1,chop_left=3,chop_right=0,chop_top=0,chop_bottom=0 %text %{ -%include typemaps.i +%include <typemaps.i> The SWIG typemap library provides a language independent mechanism for supporting output arguments, input values, and other C function @@ -62,12 +62,12 @@ To use these, suppose you had a C function like this : You could wrap it with SWIG as follows : - %include typemaps.i + %include <typemaps.i> double fadd(double *INPUT, double *INPUT); or you can use the %apply directive : - %include typemaps.i + %include <typemaps.i> %apply double *INPUT { double *a, double *b }; double fadd(double *a, double *b); @@ -156,12 +156,12 @@ returns the integer part in one of its parameters).K: You could wrap it with SWIG as follows : - %include typemaps.i + %include <typemaps.i> double modf(double x, double *OUTPUT); or you can use the %apply directive : - %include typemaps.i + %include <typemaps.i> %apply double *OUTPUT { double *ip }; double modf(double x, double *ip); @@ -246,12 +246,12 @@ For example, suppose you were trying to wrap the following function : You could wrap it with SWIG as follows : - %include typemaps.i + %include <typemaps.i> void neg(double *BOTH); or you can use the %apply directive : - %include typemaps.i + %include <typemaps.i> %apply double *BOTH { double *x }; void neg(double *x); @@ -318,12 +318,12 @@ For example, suppose you were trying to wrap the following function : You could wrap it with SWIG as follows : - %include typemaps.i + %include <typemaps.i> void neg(double *REFERENCE); or you can use the %apply directive : - %include typemaps.i + %include <typemaps.i> %apply double *REFERENCE { double *x }; void neg(double *x); |