javagetcptr typemap replaced by the javabody typemap

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-06-03 22:27:09 +00:00
commit 2a37bb5d27
4 changed files with 4 additions and 4 deletions

View file

@ -36,7 +36,7 @@
* values are specified then a lengthy linear search through all possible enums might occur. Specific typemaps could be
* written to possibly optimise this lookup by taking advantage of characteristics peculiar to the targeted enum.
*/
%typemap(javagetcptr) enum SWIGTYPE %{
%typemap(javabody) enum SWIGTYPE %{
public final int swigValue() {
return swigValue;
}

View file

@ -28,7 +28,7 @@
}
%typemap(javaclassmodifiers) enum SWIGTYPE ""
%typemap(javagetcptr) enum SWIGTYPE ""
%typemap(javabody) enum SWIGTYPE ""
%javaenum(simple);

View file

@ -36,7 +36,7 @@
* written to possibly optimise this lookup by taking advantage of characteristics peculiar to the targeted enum.
* The special variable, $enumvalues, is replaced with a comma separated list of all the enum values.
*/
%typemap(javagetcptr) enum SWIGTYPE %{
%typemap(javabody) enum SWIGTYPE %{
public final int swigValue() {
return swigValue;
}

View file

@ -29,7 +29,7 @@
// '$static' will be replaced with either 'static' or nothing depending on whether the enum is an inner Java class or not
%typemap(javaclassmodifiers) enum SWIGTYPE "public final $static class"
%typemap(javagetcptr) enum SWIGTYPE ""
%typemap(javabody) enum SWIGTYPE ""
%javaenum(typeunsafe);