summaryrefslogtreecommitdiff
path: root/Lib/java/typemaps.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2005-11-26 09:28:20 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2005-11-26 09:28:20 +0000
commitcfdad249937a030cf035bb3509278f29a44191ea (patch)
tree46389a9f7a07dbd265dd1e21ccb38cefe7fb2d3b /Lib/java/typemaps.i
parent55a48adb5bd5053ee995637a6b6f65efbc0446d0 (diff)
downloadswig-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/java/typemaps.i')
-rw-r--r--Lib/java/typemaps.i18
1 files changed, 9 insertions, 9 deletions
diff --git a/Lib/java/typemaps.i b/Lib/java/typemaps.i
index 030f8efe2..a5c3bbfc6 100644
--- a/Lib/java/typemaps.i
+++ b/Lib/java/typemaps.i
@@ -44,12 +44,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);
@@ -57,7 +57,7 @@ In Java you could then use it like this:
double answer = modulename.fadd(10.0, 20.0);
There are no char *INPUT typemaps, however you can apply the signed char * typemaps instead:
- %include "typemaps.i"
+ %include <typemaps.i>
%apply signed char *INPUT {char *input};
void f(char *input);
*/
@@ -174,12 +174,12 @@ returns the integer part in one of its parameters):
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);
@@ -190,7 +190,7 @@ value in the single element array. In Java you would use it like this:
double fraction = modulename.modf(5.0,ptr);
There are no char *OUTPUT typemaps, however you can apply the signed char * typemaps instead:
- %include "typemaps.i"
+ %include <typemaps.i>
%apply signed char *OUTPUT {char *output};
void f(char *output);
*/
@@ -310,12 +310,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 *INOUT);
or you can use the %apply directive :
- %include "typemaps.i"
+ %include <typemaps.i>
%apply double *INOUT { double *x };
void neg(double *x);
@@ -332,7 +332,7 @@ languages in that other languages will return the output value as part
of the function return value. This difference is due to Java being a typed language.
There are no char *INOUT typemaps, however you can apply the signed char * typemaps instead:
- %include "typemaps.i"
+ %include <typemaps.i>
%apply signed char *INOUT {char *inout};
void f(char *inout);
*/